Example #1
0
    }
    ?>
		
		</div>
	<?php 
}
?>
	<?php 
if ($this->item->metakey != '' || $params->get('show_parent_category') && $this->item->parent_id != 1 || $params->get('show_category') || $params->get('show_author') && !empty($this->item->author)) {
    ?>
		<div class="keywords">
			<?php 
    if ($this->item->metakey != '') {
        ?>
		    <p>Tags: <?php 
        TemplateContentCategoryHelper::displayMetakeyLinks($this->item->metakey);
        ?>
</p>
			<?php 
    }
    ?>
			<?php 
    if ($params->get('show_category') || $params->get('show_parent_category') && $this->item->parent_id != 1) {
        ?>
		    	
				<?php 
        $categories = '';
        if ($params->get('show_parent_category') && $this->item->parent_id != 1) {
            if ($params->get('link_parent_category')) {
                $categories .= '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->parent_id)) . '">' . $title . '</a>';
            } else {
Example #2
0
 static function displayMetakeyLinks($metakey, $link = '')
 {
     return parent::displayMetakeyLinks($metakey, $link);
 }
								<?php 
            echo JHtml::_('icon.edit', $article, $params);
            ?>
							</li>
						</ul>
						<?php 
        }
        ?>
	          		</span> 
	          		<?php 
        if ($article->metakey != '') {
            ?>
	          		<span class="keywords">
	                	Tags:
	                    <?php 
            TemplateContentCategoryHelper::displayMetakeyLinks($article->metakey);
            ?>
	                </span>
	              	<?php 
        }
        ?>
				</div>
				<div class="span2 tileInfo">
					<ul>
						<?php 
        // var_dump($article);
        $author = $article->created_by_alias ? $article->created_by_alias : $article->author;
        ?>
						<li class="hide"><?php 
        echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author);
        ?>