Keyword

Featured Image

More
13 years 8 months ago #92623 by BBC
Replied by BBC on topic Featured Image
He.....go to your category in Admin Panel and enable everything for "Fatured" under Categor< and "Item view options in category listings" options.

Please Log in or Create an account to join the conversation.

  • NintendoNerds
  • NintendoNerds's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 8 months ago #92624 by NintendoNerds
Replied by NintendoNerds on topic Featured Image
Which options are you referring to?


i192.photobucket.com/albums/z133/nintendonerds/params.png

BBC said:

He.....go to your category in Admin Panel and enable everything for "Fatured" under Categor< and "Item view options in category listings" options.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92625 by BBC
Replied by BBC on topic Featured Image
"Item view options in category listings"
'Featured' notice (next to title) -> show

Please Log in or Create an account to join the conversation.

  • NintendoNerds
  • NintendoNerds's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 8 months ago #92626 by NintendoNerds
Replied by NintendoNerds on topic Featured Image
It's already set to "show"

BBC said:
"Item view options in category listings" 'Featured' notice (next to title) -> show

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92627 by Terry Britton
Replied by Terry Britton on topic Featured Image
Yes you can do that. You'll have to use an image instead of text and you'll have to place it in the category_item.php so that it shows up in that location. Use Firefox with Firebug and you can inspect the page and see the html and the css to give you an idea where you'll have to place the code to get the desired result. Following is my best guess without actually going in and trying it, plus it will be slightly different for different templates.

 

Put the following code in category_item.php right after <div class="catItemHeader">. Line 41 or so.

 

<?php if ($this->item->featured) : ?>

<img class="featured-image" src="/stories/icons/featured.jpg" alt="featured article"></img>

<?php endif; ?>

 

Change the path to match the location of your image and then add this css to your css file:

 

.featured image {float:right;z-index:99;}

 

The z-index probably isn't necessary, but it won't hurt anything. I like the look, and may steal this for my website.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92628 by BBC
Replied by BBC on topic Featured Image
Did you put your item as "Featured" ?

Please Log in or Create an account to join the conversation.

  • NintendoNerds
  • NintendoNerds's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 8 months ago #92629 by NintendoNerds
Replied by NintendoNerds on topic Featured Image
Yes. I'm gonna try to follow what Terry suggested...if I can find that file LOL

BBC said:
Did you put your item as "Featured" ?

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92630 by BBC
Replied by BBC on topic Featured Image
I don´t know why, it seems that your template is overriding:
background: url("../images/system/featuredItem.png") no-repeat scroll 100% 0 transparent;

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #92631 by BBC
Replied by BBC on topic Featured Image
It wont help you. Terry misunderstod you.

Please Log in or Create an account to join the conversation.

  • NintendoNerds
  • NintendoNerds's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 8 months ago #92632 by NintendoNerds
Replied by NintendoNerds on topic Featured Image
Hmm...OK Well, I'm not sure what to do next then :D

BBC said:
It wont help you. Terry misunderstod you.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum