IMPORTANT MESSAGE REGARDING THE FORUM

As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).

Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.

Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.

Keyword

How to add description to k2 tag

More
2 years 1 month 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
2 years 1 month ago #173867 by Fotis
Replied by Fotis 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.

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

More
2 years 1 month 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
2 years 1 month ago #174014 by Fotis
Replied by Fotis on topic How to add description to k2 tag
Hacking K2 is really beyond the scope of the support I can provide here, sorry.

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

More
1 month 1 week ago - 4 weeks 2 days 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
Attachments:
Last edit: 4 weeks 2 days ago by natecovington.

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


Powered by Kunena Forum