- Posts: 23
COMMUNITY FORUM
How to add description to k2 tag
- eugen
- Topic Author
- Offline
- Junior Member
Less
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!
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago #173867
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 23
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
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago #174014
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
- natecovington
- Offline
- Senior Member
Less
More
- Posts: 68
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
Edit: Had to build it custom - see attached
Here is a tutorial:
www.covingtoncreations.com/blog/joomla-k2-customization-adding-descriptions-to-tags
Last edit: 2 years 7 months ago by natecovington.
Please Log in or Create an account to join the conversation.