- Posts: 663
COMMUNITY FORUM
Featured Image
- BBC
-
- Offline
- Platinum Member
Please Log in or Create an account to join the conversation.
- NintendoNerds
-
Topic Author
- Offline
- Senior Member
- Posts: 55
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.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
'Featured' notice (next to title) -> show
Please Log in or Create an account to join the conversation.
- NintendoNerds
-
Topic Author
- Offline
- Senior Member
- Posts: 55
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.
- Terry Britton
-
- Offline
- Elite Member
- Posts: 198
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.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
Please Log in or Create an account to join the conversation.
- NintendoNerds
-
Topic Author
- Offline
- Senior Member
- Posts: 55
BBC said:
Did you put your item as "Featured" ?
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
background: url("../images/system/featuredItem.png") no-repeat scroll 100% 0 transparent;
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
Please Log in or Create an account to join the conversation.
- NintendoNerds
-
Topic Author
- Offline
- Senior Member
- Posts: 55
BBC said:
It wont help you. Terry misunderstod you.
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
There is template´s #itemListPrimary .catItemView that conflicts with K2 featured CSS styling.
If you remove it image shows. But you lose background of category listing blocks.
Please Log in or Create an account to join the conversation.
- Terry Britton
-
- Offline
- Elite Member
- Posts: 198
Hmm...OK Well, I'm not sure what to do next then :DBBC said:It wont help you. Terry misunderstod you.
Please Log in or Create an account to join the conversation.
- NintendoNerds
-
Topic Author
- Offline
- Senior Member
- Posts: 55
category_item.php
Terry A Britton said:
What I said in my last post will look exactly like the link to the image you provided.Kevin McMinn said:Hmm...OK Well, I'm not sure what to do next then :DBBC said:It wont help you. Terry misunderstod you.
Please Log in or Create an account to join the conversation.
- Terry Britton
-
- Offline
- Elite Member
- Posts: 198
I guess I can give it a shot. I mean, what could it hurt? Where is this file located?
category_item.phpTerry A Britton said:
What I said in my last post will look exactly like the link to the image you provided.Kevin McMinn said:Hmm...OK Well, I'm not sure what to do next then :DBBC said:It wont help you. Terry misunderstod you.
Please Log in or Create an account to join the conversation.