Hi, i add this code: my Price alias is pricefield and this code not work. Why? Code is in category_item.php and item.php
but. I need only extrafileds value ID 1.
And in localhost all is ok. Online in my serwer home.pl foreach function not play. Help.
<!-- Call to prepare extra fields --> <?php //convertArray to use ids as key $extrafields = array(); foreach($this->item->extra_fields as $item) { $extrafields[$item->id] = $item->value; } ?> This is it?
Hi, but error is in the forech loop.
Hi, i have Joomla! 3.2.0 and K2 2.6.7. In category_item.php i add code: $extrafieldslabels = array(); foreach($this->item->extra_fields as $itemlabel); { $extrafieldslabels[$itemlabel->id] = $itemlabel->name; } And in code site add: <?php if...
More