Keyword

How to add description to k2 tag

  • eugen
  • eugen's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 11 months ago #173844 by eugen
How to add description to k2 tag was created by eugen
Hello. Thank you for you component. It is perfect. But I want to add some features. Please, help me.
I have more 15 000 items and more 2 000 tags in my K2. In item I create a field where I can write SEO Title. But I cannot add these fields to the template, which views tag page. I created I special column (tag_description) in database in table k2_tag, but I cannot understand how can I print value from table to template. Please help!

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

More
4 years 11 months ago #173867 by JoomlaWorks
Replied by JoomlaWorks on topic How to add description to k2 tag
If you're going to write a tag description for each tag, why not create a menu item for each tag then and simply write your SEO title, description and keywords in the menu item's settings?

In K2 v2.10.1 all these additional data will be output directly into the tag layout.

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

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

  • eugen
  • eugen's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 11 months ago #173986 by eugen
Replied by eugen on topic How to add description to k2 tag
Hi Fotis! Thank you for your reply. I understand that your recommendation can solve my problem. But I need to create more than 2000 menu items. It's complicated. I find it more appropriate to create a field in the database to describe the tag. I already did it. But I can't figure out how to print the description in the tag output template. I did a similar action with the SEO title (look at the picture), but it doesn't work with the tag. Please help
Attachments:

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

More
4 years 11 months ago #174014 by JoomlaWorks
Replied by JoomlaWorks on topic How to add description to k2 tag
Hacking K2 is really beyond the scope of the support I can provide here, sorry.

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

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

More
2 years 11 months ago - 2 years 7 months ago #179739 by natecovington
Replied by natecovington on topic How to add description to k2 tag
I'm interested in this, too. Isn't there a K2 plugin or something that can do this?

Edit: Had to build it custom - see attached

Here is a tutorial:
www.covingtoncreations.com/blog/joomla-k2-customization-adding-descriptions-to-tags
Attachments:
Last edit: 2 years 7 months ago by natecovington.

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


Powered by Kunena Forum