Keyword

Showing extra fields in the TAG view

  • Peter Mathews
  • Peter Mathews's Avatar Topic Author
  • Offline
  • New Member
More
11 years 6 months ago #111307 by Peter Mathews
Showing extra fields in the TAG view was created by Peter Mathews
Using K2 2.5.6 and Joomla 2.5.9

I am tryng to get a couple extra fields to appear in the tag view.

I am getting to the tag view via a menu button using the K2 Tag menu type. I set the tag I want and then the category I want in the filter categories. Even set the template to default rather than my own one I have set up.

I have tried adding

<?php echo $this->item->extraFields->EventDate->value ;?>

to the tag.php to see if I can see anything, but nothing shows.

Is this possible?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 6 months ago #111308 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Showing extra fields in the TAG view
Hello Peter,

What you are trying to achieve is not possible with K2 2.5.6, The following snippet works on versions 2.6.2 and newer.

If you want to directly output extra fields you should upgrade to the latest version of K2.

Regards

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

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

  • Peter Mathews
  • Peter Mathews's Avatar Topic Author
  • Offline
  • New Member
More
11 years 6 months ago #111309 by Peter Mathews
Replied by Peter Mathews on topic Re: Showing extra fields in the TAG view
Thanks for the reply.
I think the 2.5.6 was a typo! I am using 2.6.5! Really sorry - it makes all the difference I know.

Pretty sure I couldn't get them to appear in the TAG view.
I will go and take another look but as this is a new build I think it has always been on 2.6.5

Regards
Peter

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


Powered by Kunena Forum