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 module: Feel silly

Development and Programming

lithiumdave's avatar
lithiumdave
215 posts
16 years ago
lithiumdave's avatar lithiumdave

I feel silly because everyone else is saying how easy this module is to get going, but I haven’t a clue what to do : (

I’ve installed the module. I don’t want tag clouds, just the ability to tag each entry, and have the tags that that entry has assigned to it appear with that entry. When I click a tag link, it should take me to a page containing all other entries tagged with that same tag.

How on earth do I go about doing it? I’ve followed the docs at http://www.solspace.com/docs/c/Tag11 but none of it gets me anywhere. I’ve added the following to my template (not sure why, the docs are so confusing…)

{exp:tag:tags_from_field} 
{dyn-tags} 
{format}<a href="http://{homepage}/resources/{websafe_tag}/">{tag}</a>{/format} 
{/exp:tag:tags_from_field}
{/exp:weblog:entries}

This outputs a link to http://www.website.com/index.php/resources/tag_name/ but clicking this tag link just takes me to the index template in the ‘resources’ template group, with all entries listed regardless of their associated tags.

I’ve gone into preferences in the module control panel, added the ‘resources’ section and the correct custom field I’ve created to hold the tags, but I just can’t figure out what to do next to get it to work. The docs just don’t explain the actual steps I need to take.

Feel very silly indeed…

Thanks in advance

       
Joelle's avatar
Joelle
272 posts
16 years ago
Joelle's avatar Joelle

Don’t feel silly, I have been struggling with the extension, too. 😊 Wish I could help!

       
Jamie Pittock's avatar
Jamie Pittock
108 posts
16 years ago
Jamie Pittock's avatar Jamie Pittock

you should be looking at the ‘entries’ method - http://www.solspace.com/docs/entry/tag_11_entries/

if that doesn’t make sense come back and I’ll give you a proper example.

       
lithiumdave's avatar
lithiumdave
215 posts
16 years ago
lithiumdave's avatar lithiumdave

Ah I see! Got it, thank you. You know, I’d clicked through each and everyone of those pages in the docs and swear that that one wasn’t there before!

Yep, popped the {exp:tag:entries} around my content and all works great.

Joelle - now I’ve figured the general idea out (just about, though I’m sure it will all unravel again in a minute…) if you need any help let me know, I may be able to explain it in easy-to-understand steps. I know that’s what I need anyway : )

Cheers!

       
Solspace's avatar
Solspace
106 posts
16 years ago
Solspace's avatar Solspace

Hey Lithiumdave,

Today it’s not the case, but it does happen regularly that I add stuff to the docs, or clarify things. So sometimes there are fun surprises when you check back in the docs. Not that I am trying to clown around with you guys. I’m just not organized sometimes.

mk

       
lithiumdave's avatar
lithiumdave
215 posts
16 years ago
lithiumdave's avatar lithiumdave

Hey no worries at all, it’s definitely me being a little bit slow on the uptake. Great module btw, thanks.

       
creativesherpa's avatar
creativesherpa
42 posts
16 years ago
creativesherpa's avatar creativesherpa

Could anyone provide an example of what the listing page should look like?

I think we got the first part working to show the list of tags I entered into weblog field

{exp:tag:tags_from_field} {taggedtracks} {format} {tag} {/format} {/exp:tag:tags_from_field}

When I click on a tag. In this example “alan light” http://www.tracksmusic.com/notes/editor

it takes me to what I think would be the appropriate page http://www.tracksmusic.com/tagged/alan+light

but I haven’t a clue as to what I’m supposed to put between these tags so that they list all the posts with that tag even if they are from different weblogs

{exp:tag:entries weblog="some_weblog" orderby="entry_date" sort="asc" limit="20"}

{/exp:tag:entries}

Oh… and I’m guessing here but I’m guessing that I can pipe in different weblogs in the “some_weblog” area. Is that correct?

       
Solspace's avatar
Solspace
106 posts
16 years ago
Solspace's avatar Solspace

Hi CreativeSherpa,

Be sure that you are indicating what the marker word in the url is supposed to be. In your case you need to add the parameter of marker=”tagged” because that is the segment that preceeds your tags when they appear in the url.

And yes, you can pipe multiple weblogs.

mk

       
creativesherpa's avatar
creativesherpa
42 posts
16 years ago
creativesherpa's avatar creativesherpa

LOL. Wow! Thank you!

       
ruraldreams's avatar
ruraldreams
279 posts
16 years ago
ruraldreams's avatar ruraldreams

There’s something that’s not totally clear to me - can you use BOTH tags from a form and tags from a custom field simultaneously?

       
Solspace's avatar
Solspace
106 posts
16 years ago
Solspace's avatar Solspace

tags_from_field pulls only tags sitting in a custom weblog field. It’s intended to be used when you are not collecting tags from end users. I never use it though. In principal it should make a page load a few milliseconds faster because the Tag module does not have to hit the DB.

If you want all tags for an entry, both from the custom field and from those submitted by users you need exp:tag:tags.

mk

       
ruraldreams's avatar
ruraldreams
279 posts
16 years ago
ruraldreams's avatar ruraldreams

Crystal clear now. Gracias.

       
Solspace's avatar
Solspace
106 posts
16 years ago
Solspace's avatar Solspace

De nada

       
RobJ25's avatar
RobJ25
39 posts
16 years ago
RobJ25's avatar RobJ25

Hello,

A rather stupid question from me, but I hope somebody can help. In the readme for this module, it says “Once you install the Tag module, make sure you set a few of your weblog fields as tag fields using the Tag module control panel.”

How do I do this? When I look in Modules -> Tags -> Manage Preferences, I see “There are currently no preferences.” There isn’t a button anywhere to add any preferences.

Also: is this step necessary when I haven’t been using a cutom field to store keywords in the past?

Using 1.1.2.

Hope someone can help! Many thanks, Rob

       
Solspace's avatar
Solspace
106 posts
16 years ago
Solspace's avatar Solspace

Hey Rob,

With the Tag module this step is essential. The Tag module must know where to go to harvest tags when an entry is submitted.

Others have found the add preference button hard to find. Do you see it near the top right of the page?

mk

       
1 2

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.