I’m trying to display a list of tags at the end of an article. Everything is showing up except the tags.
{exp:weblog:entries weblog="articles"}
{title}
{article_author}
{article_text}
{entry_date format="%M %d, %Y"}
{exp:tag:tags}
{tag}
{/exp:tag:tags}
{/exp:weblog:entries}
The problem may be that I cannot assign tags to the entries. I have a list of tags generated in the tag field of the “Tag” tab when making a new entry, but when I search for tags to assign them to the entry, the search always comes up empty. From what I can tell, using the search is the only way to assign the tags to the entry.
Sounds like two issues- first, check the docs- to show tags associated with an entry, you’ll want to specify the entry id a la:
{exp:weblog:entries weblog="articles"}
{title}
{article_author}
{article_text}
{entry_date format="%M %d, %Y"}
{exp:tag:tags entry_id="{entry_id}"}
{tag}
{/exp:tag:tags}
{/exp:weblog:entries}
Of course- that won’t help if you don’t have tags assigned to the entry. If you already have keywords in a custom field? You probably want to import them in as tags- see Harvest in the Tags cp. Make sense?
I’ll try the “entry_id” suggestion. I think the main problem is that I don’t have tags assigned to the entry. The thing is I have harvested tags from the category list. The tags display in the tag field in the “Tag” tab and in the Module area if I go into the Tag 2.0 CP. It even says that I have an entry that is tagged and shows my “Top 5 Tags.”
Something that might help though is a better explanation of the “entry_id” parameter than they have in the Tag 2.0 documentation. I just don’t quite understand what they’re saying.
Thanks for the help.
Hm- well, not having the entry_id will make it fail. What I’d do- go find an entry and make sure it has tags- do it via the ‘edit’ screen. Should see the tags in the bug ‘Tags’ field. Then go take a look at that entry on your test template- with the tags tag in there and the entry id parameter correct. See if it’s showing up or not.
Hey guys, Robin was great to help you out with this! I have gone ahead and moved it down to our Modules Discussions forum, as it is a third party module; also please bear in mind that with third party modules, it is best to contact the author for support. Solspace offers excellent support forums where you can find excellent direct support.
Thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.