Keyword

How to add k2 extra field inside the content

More
1 year 9 months ago #171192 by Alex
Hi Mohamed how are you bro? It's possible also to add inside the Article "rate us" field? many thanks

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
1 year 9 months ago #171326 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic How to add k2 extra field inside the content
Hi Alex,

I'm good, thanks!
If it is a k2 extra field, most probably yes.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

More
1 month 1 week ago #177275 by Okan
Hello Fotis,

This one doesn't work with k2 tools module.
K2 plugins enabled.
It gives nothing.
And yes i used my own allias instead of "EXTRAFIELD_ALIAS_HERE"

<?php echo $item->extraFields->EXTRAFIELD_ALIAS_HERE->value; ?>

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 1 week ago #177295 by Fotis
@Okan It's out of context ($item refers to something that is not globally defined), that's why.

I would recommend doing a K2 template override for item.php. A much better solution if you ask me...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum