Keyword

extraField in category_item.php

  • Patrick honroth
  • Patrick honroth's Avatar Topic Author
  • Offline
  • New Member
More
6 years 8 months ago #167142 by Patrick honroth
extraField in category_item.php was created by Patrick honroth
How do I display and extraField in the category_item.php?
<?php echo $this->item->extraFields->ALIAS->value; ?>
Does not work. Please help

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 8 months ago #167159 by Krikor Boghossian
Replied by Krikor Boghossian on topic extraField in category_item.php
The entire code is:
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L168-L173

Also make sure that extrafields are set to show for that specific category.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum