question about displaying tags in posts
Posted: 11 May 2008 03:01 PM   [ Ignore ]
Newbie
Rank
Total Posts:  5
Joined  2007-03-24

Not sure if this is blatantly obvious and I’m just missing something, and if so, I apologize in advance.

What I’d like is to use tags that have two words.  Example: Iron Man.  So far the only way that works when clicking on the tag is if I use the tag Iron+Man.  That’s fine, but I don’t like the + sign displaying.  I know it’s necessary for the URL, but does it have to display that way?

Profile
 
 
Posted: 12 May 2008 06:54 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2320
Joined  2006-10-18

Jim,

Let me introduce you to the websafe_seperator parameter LOL

The ‘websafe_separator’ parameter allows you to control the websafe separator character for multi-word tags generated by the {websafe_tag}. Allowable characters are ‘+’, ‘-’, and ‘_’. The default is ‘+’.

You’ll just need to make sure that you use this parameter (with matching values) in all applicable loops:

Tag:Cloud
Tag:Tags
Tag:Entries

If you’re referring to the way it displays on a page such as Tag:Entries, make sure you have a peek at the Tag:Tag Name loop smile

Used outside of the Tag:Entries loop, it’s similar to a Search {keywords} variable, and it automatically parses out the websafe character, as well as capitalizes each word smile

 Signature 
Profile
 
 
Posted: 12 May 2008 09:58 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  5
Joined  2007-03-24

Got it...thanks!  Love this module...once you get how it works, it really becomes powerful.

Profile