Hi, I just updated K2 on my site and now when I click to add/edit/etc an item/category or what ever it just displays a blank page - no error. It's been a while since I had to debug the back end so any advice would be great. Joomla...
Looking in the database and those fields have []
I have reverted the code back to: <!-- Item extra fields --> <?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?> <?php foreach ($this->item->extra_fields as $key=>$extraField): ?> <?php...
Although <?php var_dump($extraField); ?> does work for items that have some content in the extra field.
I tried using !== and also checking for NULL. No joy on the ELSE part of the statement. I then tried: <?php var_dump($extraField); ?> Which outputted nothing also.
Thanks. I am trying the following: <!-- Item extra fields --> <?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?> <?php foreach ($this->item->extra_fields as $key=>$extraField): ?> <?php...
Hi, I have added some extra fields with a default value to existing items in a category. The problem I am experiencing is that the default value is not being outputted unless I edit that item. There are over 300 items so not very...
Many thanks, Krikor
Ah sorry. I thought as it was a slightly different question I should open a new thread. Shall I/Can I delete this thread?
Is there anyway to output the title alias in item.php ?
More