XF 2.2 Formatting tags page?

ibrian

Well-known member
My tags page just looks like a big jumble of text that's hard for people to use:

Is there anyway of re-presenting the tags so that it's easier for users to reference? For example, by setting up tags in 2 or 3 columns, please?

Any replies much appreciated.
 
Solution
Edit the tag_search template and change this:
HTML:
<a href="{{ link('tags', $cloudEntry.tag) }}" class="tagCloud-tag tagCloud-tagLevel{$cloudEntry.level}">{$cloudEntry.tag.tag}</a>

To this:
HTML:
<a style="width: 150px" href="{{ link('tags', $cloudEntry.tag) }}" class="tagCloud-tag tagCloud-tagLevel{$cloudEntry.level}">{$cloudEntry.tag.tag}</a>
Certainly. Delete them all. They aren't providing any benefit. They add bloat to the database. And as you have seen, they are just a butt-ugly mess of clutter.
 
Edit the tag_search template and change this:
HTML:
<a href="{{ link('tags', $cloudEntry.tag) }}" class="tagCloud-tag tagCloud-tagLevel{$cloudEntry.level}">{$cloudEntry.tag.tag}</a>

To this:
HTML:
<a style="width: 150px" href="{{ link('tags', $cloudEntry.tag) }}" class="tagCloud-tag tagCloud-tagLevel{$cloudEntry.level}">{$cloudEntry.tag.tag}</a>
 
Solution
You can also style the individual tag levels using this:
Less:
a.tagCloud-
{
    &tagLevel1
    {
        color: orange;
    }

    &tagLevel2
    {
        color: green;
    }

    &tagLevel3
    {
        color: purple;
    }
}

Adjust the styling to suit and add more levels as required.
 
Top Bottom