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
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!
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
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?
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
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
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
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.