Bug in getting the itemTags

GK User
Wed Mar 25, 2015 12:29 pm
Hi,

e.g. you use the following in gk_steakhouse_J!3.zip/gk_steakhouse/html/com_contact/contact/default.php

line 96
Code: Select all
<?php if ($this->params->get('show_tags', 1) && !empty($this->item->tags)) : ?>

This is wrong imho... this always will be true.
It has to be
Code: Select all
<?php if ($this->params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>

Hasn't it?

I don't searched for other occurrences of $this->item->tags which eventually all have to be replaced by $this->item->tags->itemTags
User avatar
Senior Boarder

teitbite
Fri Mar 27, 2015 10:39 am
Hi

Yes You are right. Other templates does not have this issue. Will report this to programmers. Thank You.
User avatar
Moderator

GK User
Fri Mar 27, 2015 12:07 pm
Short view in the same file of storebox template.... same issue... please check again all your templates, thanks.
User avatar
Senior Boarder

teitbite
Sat Mar 28, 2015 4:31 pm
Hi

Och. Interesting. I checked 3 older templates thinking it's a new bug, but looks like it's an old onerecently fixed in new templates but left in others. Thank You for noticing that.
User avatar
Moderator

teitbite
Mon Mar 30, 2015 2:55 pm
Hi

I've just got a confirmation that fix will be available within Gavern 3.17 update.
User avatar
Moderator

GK User
Tue Mar 31, 2015 9:02 am
Thanks for that info!
User avatar
Senior Boarder


cron