Keyword

Extra Field within Item Fulltext

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • Offline
  • Platinum Member
More
8 years 5 months ago - 8 years 5 months ago #148294 by Joe Campbell
Extra Field within Item Fulltext was created by Joe Campbell
How can I echo an ExtraField within an Item FullText?

I'm pretty sure, I would have to use a plugin like NoNumber Sourcerer to bypass the Content Editor limitation and ensure that the PHP used to echo the extra field is not stripped out.
Last edit: 8 years 5 months ago by Joe Campbell.

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
8 years 5 months ago #148314 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Extra Field within Item Fulltext
Hi Joe,

In my plugin AutoMeta for K2 I'm replacing the strings like {ef_FieldAlias} with the field value in the meta keywords and description tags.

If you need something like this, but with the FullText instead of the meta tags, I think this can be done with a little modification to this plugin, let me know if this is what you want.

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.

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • Offline
  • Platinum Member
More
8 years 5 months ago #148315 by Joe Campbell
Replied by Joe Campbell on topic Extra Field within Item Fulltext
I think a plugin that offers the ability to render Extra Field content within the FullText would be most usefeul, as long as it does not comprimise performance.

Image the ability to use a shortcode like {extrafield color_one} within your content. This could be very useful.

I personally want to reduce the number of restrictions for presenting content. That is why I chose K2 in the first place, because it offered less restrictions than com_content. But as my needs have advanced, I am starting to find a few limitations within K2 that could be remedied by talented developers.

Would anyone like to accept the challenge?

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
8 years 5 months ago #148316 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Extra Field within Item Fulltext
Ok, I can deliver a beta version tonight :)

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.

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
8 years 5 months ago #148341 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Extra Field within Item Fulltext
I would not label it as a limitation within K2 if the requirement of your project changes :)

Personally i find it more difficult to use shortcodes and trying to remember the alias or the title of the extrafield. Much easier to change the extrafield value and the content together.

Just my opinion.

K2 Rocks \m/

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months ago - 8 years 5 months ago #148409 by Krikor Boghossian
Replied by Krikor Boghossian on topic Extra Field within Item Fulltext
I would personally enhance the plugin Mohamed to allow the user to add more elements from that item; eg: the gallery the introtext as a quote or the title as a rudimentary way of interlinking items.

I personally think it will be a useful tool for heavy content sites.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 8 years 5 months ago by Krikor Boghossian.

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
8 years 5 months ago #148411 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Extra Field within Item Fulltext
Hi Krikor,

I have created a github repo for this pluign, here is the url: github.com/mabdelaziz77/TExtrafield

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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months ago - 8 years 5 months ago #148412 by Krikor Boghossian
Replied by Krikor Boghossian on topic Extra Field within Item Fulltext
I 've starred it ;)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 8 years 5 months ago by Krikor Boghossian.

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
8 years 5 months ago #148508 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Extra Field within Item Fulltext
Guys, please test the plugin and let me know whether it works with you.

Just download it, github.com/mabdelaziz77/TExtrafield, intsall and enable.

Then in any item with extrafields, use this format {extrafield FieldAlias}

Thanks!

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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months ago #148530 by Krikor Boghossian
Replied by Krikor Boghossian on topic Extra Field within Item Fulltext
Will do Mohamed and I will post feedback.

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