Ugh, What Have I done Wrong? 
Posted: 10 April 2008 05:11 AM   [ Ignore ]
Newbie
Rank
Total Posts:  5
Joined  2008-04-10

So tagging is a mystery to me, and I’m stuck. After reading the forums I’ve learned a bit, but can’t get this to work.

I have a tag cloud, works nicely:

{exp:tag:cloud weblog="imagery" groups="4" step="2" limit="25"}
<a href="{path=’imagery/tags}{websafe_tag}" title="{tag_name}" style="font-size:{step}px;">{tag}</a
{/exp:tag:cloud}

And in a template:

{exp:tag:entries weblog="imagery" inclusive="yes" orderby="entry_date" sort="asc" limit="20"} {title}
{body}
{
/exp:tag:entries}

Where I want to show the results. So when I click on a tag, it should go to that template and show the results, right?

When I mouseover the tag it shows correctly, I think...www.mysite.com/en/imagery/tags/blue

But when I click I get a blank page, and the url is this:

http://www.mysite.com/en/&#xE2;&#x80;&#x99;imagery/tags/blue

So what have I done wrong? And how to get it fixed, or can I not do what I wanted? Any help appreciated. Thanks.

Profile
 
 
Posted: 10 April 2008 05:18 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  5
Joined  2008-04-10

Ugh, I’m an idiot. I had copied and pasted that code, and the path I had was:

{path='imagery/tags....}

So I removed the

" ' "

and it displays a page, but no entries.

So...do I have to do something else to get the entries there?

Profile
 
 
Posted: 10 April 2008 07:10 AM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3350
Joined  2006-10-18

JoeLena,

You’re path should be “imagery/tag” (no “s")

Or, if you have an actual template path which is: imagery/tags
Then link to it like this: imagery/tags/tag

The tag part of the URL is not to be a template… it’s in addition to a template path which triggers the Tag:Entries loop to show smile

Hope that makes sense? wink

 Signature 
Profile
 
 
Posted: 10 April 2008 06:46 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  5
Joined  2008-04-10

Thanks Pie Man! That was it, the whole tag/tags thing had me, got it now thanks to you!

Profile