J3.1 and tags

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 03, 2013 8:18 pm
Reply with quote
Report this post
Hi, I upgraded to joomla 3.1 and setup the tags feature. It is working fine except that tags are not displayed when viewing a full article. They are suppose to show up after the title but nothing happens. I am pretty sure this is a template issue since using another template all is fine. Anyone having similar issue ?
Thanks.
User avatar
Fresh Boarder

GK User
Sat May 04, 2013 2:37 pm
Reply with quote
Report this post
Hi,
yes, it's because our templates overwrite file: default components\com_content\views\article\tmpl\default.php
you have to wait until next template update or ... I will check what line of php code you should add.
User avatar
Platinum Boarder

GK User
Sat May 04, 2013 2:49 pm
Reply with quote
Report this post
p.s.
I've found it:
Code: Select all
   <?php if ($params->get('show_tags', 1) && !empty($this->item->tags)) : ?>
      <?php $this->item->tagLayout = new JLayoutFile('joomla.content.tags'); ?>

      <?php echo $this->item->tagLayout->render($this->item->tags->itemTags); ?>
   <?php endif; ?>


This php code you should add to this file: gk_magazine\html\com_content\article\default.php
Where? It depends where you need it.
If after content, add in line 276.
User avatar
Platinum Boarder

GK User
Sun May 05, 2013 4:10 pm
Reply with quote
Report this post
thanks a lot, this is working fine! :D
User avatar
Fresh Boarder

GK User
Mon May 06, 2013 10:35 pm
Reply with quote
Report this post
Next update of our templates should be in this week, so we create new versions specially for Joomla 3.1, check soon.
User avatar
Platinum Boarder


cron