We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19115
    • 20 Posts
    Ok I solved it but not in the best way smiley

    Anyway, I used the taglister snippet. However, the problem with this snippet, at least when using it in Revo 2.1.5 is that neither getResourcesTag or tolinks works. I have tried every possible way, followed every advice trying to get the displayed result from the taglister to be desiplayed as a-links. Must be some kind of bug because it seams that a lot of people have the same issue with this as me not getting this to work.

    Ok, so how did I do it then smiley

    First i did a simplel taglister call;
    [[!tagLister? &sortDir=`ASC` &sortBy=`TAG` &tv=`inriktning`]]

    I then edited the taglister "tag.chunk.tpl" in core - components - taglister - elements - chunkfolder.

    The chunk now looks as following;
    <dd><a href="[[+tag]].html">[[+tag]] ([[+count]])</a></dd>

    As you see I just made a simple a-link and repeated the [[+tag]] in the "a href".

    Of course this only works if you have seo-friendly links and if your alias is the same as the longtitle on the listed resources as the [[+tag]] simply is the longtitle on the tv's that you want to group.

    It's also important that you write the longtitle in the listed resources with small letters "aaa" and not AAA, otherwise the links do not work.

    Then you simply style the links with Css.

    Hope this helps someone else!

    Thank's guys for your help!
      • 9102 ☆ A M B ☆
      • 318 Posts
      Oh, I see what you mean -- you're listing all of the children, but you want a count of how many children have a specific value. Yeah, I think using tagLister or writing a custom snippet is probably the way to go -- but you still might be able to do it with getResources by using a "where" parameter in the getResources call.
        • 19115
        • 20 Posts
        Hi Freejung
        Yes exactly. But I solved it, see my previous post. Not the best way but it works smiley

        Thank's for your help though, really apriciate it!

        Cheers
        Michael