These forums are not for official support. If you are looking for official support please click here.

Welcome guest, please Login or Register

You are here: Home :: Forum Home :: Modules :: Tagger :: Thread

   

where do the tag links link to?

Rank

Total Posts: 12

Joined 2010-08-26

PM

 

I am using EE2 and have the following on a single page channel entry

{exp:tagger:cloud limit="100"  backspace="1" min_size="13" max_size="26" prefix="tags"<a href="/tag/{tags:urlsafe_tagname}/" title="{tags:tag_name}" style="font-size:{tags:size}px">{tags:tag_name}</a>   
    
{/exp:tagger:cloud} 

So each tag has a link to /tag/tagname/

Now do I need to create a template for EVERY tag that may be entered?  Not sure how these links are supposed to function dynamically?

I am also trying to create a tag cloud and the following displays nothing:

{exp:tagger:entries_quick tag="{segment_3}"}
{exp
:channel:entries entry_id="{entry_ids}"}
    
<h4>{title}</h4>
{/exp:channel:entries}
{
/exp:tagger:entries_quick} 
Rank

Total Posts: 11

Joined 2011-05-22

PM

 

Might be a silly question but I essentially have the same question as the OP.

Yesterday I successfully installed the Tagger 2.1.5 addon.  (Using EE 2.1.3 fyi)

I added tagger as a custom field to the the blog channel of my client’s site so he can add tags to his articles.

I can get the tags to show up no problem but the next step is where are they supposed to link to??

In my mind when you click on a tag (for a blog) you would want it to link to a results template where you would see a list of articles related to that tag.  Or another way could be to just link directly to the article containing that exact tag.

How should I go about doing this and how is the tag supposed to function when you click the link?

I pretty much have nearly the same code showing my tags like the OP:

{exp:tagger:cloud limit="100" backspace="1" min_size="13" max_size="26" prefix="tags"}
{if tagger
:no_tags} No Tags In Cloud {/if}  
<a href="/tag/{tags:urlsafe_tagname}/" title="{tags:tag_name}" style="font-size:{tags:size}px">{tags:tag_name}</a>   
{/exp:tagger:cloud 

If someone could help clear things up that would be great!

Rank

Total Posts: 11

Joined 2011-05-22

PM

 

Hi guys,

So can anyone please shed some light on this for me or at least post up a link to a code example or walk thru of how people normally set up this tag cloud in EE?

Rank

Total Posts: 19

Joined 2011-09-03

PM

 

I have the latest version of EE and Tagger.

I followed the instructions in the documents.  I can tag articles with tags and everything works on the admin CP side.  The home page displays the tags assigned to the articles.  When I click a tag, it takes me to a 404 page when it is turned on, or a page that displays all entries related to the channel that the tags are assigned to.

Anybody have any idea what may be the problem?

I currently have this in the entry_short template:

{exp:tagger:tags entry_id="{entry_id}"}
 {if tagger
:no_tags}<p>No tags where found.</p>{/if} 
<a href="/tag/{tagger:urlsafe_tagname}">{tagger:tag_name},</a>
{/exp:tagger:tags} 

Signature

Rank

Total Posts: 19

Joined 2011-09-03

PM

 

After emailing with the DevDemon team, I learned that I had to create a separate template for the tag search results and embed the relevant templates like header/footer etc and include the relevant tagger template code.

Signature