Hi,
if i flag an article with "Featured" i can see the ../images/system/featuredItem.png in the category listing.
Is it possible to show this picture in the tag.php ?
Ive realised that the category_item.php is using this code to show the image:
<?php echo ($this->item->featured) ? ' catItemIsFeatured' : ''; ?>
Ive put this code into the tag.php, without success.
The featured flag is defined in the k2.css:
/* --- Featured flags: the classes are repeated further below to indicate placement in the CSS structure --- */
div.itemIsFeatured,
div.catItemIsFeatured,
div.tagItemIsFeatured,
div.userItemIsFeatured {background:url(../images/system/featuredItem.png) no-repeat 100% 0;margin:2px 0 0 0;}
I hope someone has an idea.
Thx a lot
mad
if i flag an article with "Featured" i can see the ../images/system/featuredItem.png in the category listing.
Is it possible to show this picture in the tag.php ?
Ive realised that the category_item.php is using this code to show the image:
<?php echo ($this->item->featured) ? ' catItemIsFeatured' : ''; ?>
Ive put this code into the tag.php, without success.
The featured flag is defined in the k2.css:
/* --- Featured flags: the classes are repeated further below to indicate placement in the CSS structure --- */
div.itemIsFeatured,
div.catItemIsFeatured,
div.tagItemIsFeatured,
div.userItemIsFeatured {background:url(../images/system/featuredItem.png) no-repeat 100% 0;margin:2px 0 0 0;}
I hope someone has an idea.
Thx a lot
mad