We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Tag 2.0 Module

Development and Programming

endurant's avatar
endurant
13 posts
17 years ago
endurant's avatar endurant

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.

       
Robin Sowell's avatar
Robin Sowell
13,160 posts
17 years ago
Robin Sowell's avatar Robin Sowell

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?

       
endurant's avatar
endurant
13 posts
17 years ago
endurant's avatar endurant

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.

       
Robin Sowell's avatar
Robin Sowell
13,160 posts
17 years ago
Robin Sowell's avatar Robin Sowell

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.

       
endurant's avatar
endurant
13 posts
17 years ago
endurant's avatar endurant

Well, that did it. Thanks! It was an entry_id problem.

       
Robin Sowell's avatar
Robin Sowell
13,160 posts
17 years ago
Robin Sowell's avatar Robin Sowell

Whee! It is a cool module- I’ve just really started playing with it recently. But I like it. Adds some neat possibilities I’m just now getting a handle on.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
17 years ago
Lisa Wess's avatar Lisa Wess

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!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.