Return to Snippet

Revision: 25796
at April 9, 2010 06:29 by K2Joom


Initial Code
<?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
<!-- Featured flag -->
<span>
<sup>
<?php echo JText::_('Featured'); ?>
</sup>
</span>
<?php endif; ?>

Initial URL

                                

Initial Description
This snippet displays the Featured text along side the itemTitle of an item.
You can change the "Featured" to something different, like "Hot New Item" etc.
If you find that this does not change on your site, then please check the K2 language file.

Initial Title
itemFeaturedNotice - Index.php - K2 - V2.2

Initial Tags

                                

Initial Language
PHP