diff --git a/src/components/com_weblinks/views/category/tmpl/default_items.php b/src/components/com_weblinks/views/category/tmpl/default_items.php index c49b298..d2e1ae4 100644 --- a/src/components/com_weblinks/views/category/tmpl/default_items.php +++ b/src/components/com_weblinks/views/category/tmpl/default_items.php @@ -13,9 +13,6 @@ JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::_('behavior.framework'); -// Create a shortcut for params. -$params = &$this->item->params; - // Get the user object. $user = JFactory::getUser(); @@ -69,7 +66,7 @@ $listDirn = $this->escape($this->state->get('list.direction')); - + params); ?> @@ -126,10 +123,8 @@ $listDirn = $this->escape($this->state->get('list.direction')); } ?> - tags->getItemTags('com_weblinks.weblink', $item->id); ?> - params->get('show_tags', 1)) : ?> - item->tagLayout = new JLayoutFile('joomla.content.tags'); ?> - item->tagLayout->render($tagsData); ?> + params->get('show_tags', 1) && !empty($item->tags->itemTags)) : ?> + tags->itemTags); ?> params->get('show_link_description')) and ($item->description != '')) : ?> images); ?>