Jump to content

[solved] Display blocktags as alphabetical list


Recommended Posts

Hi, i want to display tags in bloctags module as alphabetical list instead of cloud or random size mash-up words

 

Is there any simple solutions for that ? Or maybe u know some tags related module that will enhance tags displaying ?

 

Regads

Link to comment
Share on other sites

Thank you for fast respond, but i was not clear in my question.

 

I found that thread, and yes tags are in alphabetical order, but i want them to display in list (same as categories are displayed)

what i want:

Lion

Elephant

Pig

 

what i dont want :

Lion Elephant Pig

Link to comment
Share on other sites

Thank you for fast respond, but i was not clear in my question.

 

I found that thread, and yes tags are in alphabetical order, but i want them to display in list (same as categories are displayed)

what i want:

Lion

Elephant

Pig

 

what i dont want :

Lion Elephant Pig

 

ok, so now go to the / modules / blocktags / blocktags.tpl and remove class="" from:

 

{foreach from=$tags item=tag name=myLoop}
 <a href="{$link->getPageLink('search', true, NULL, "tag={$tag.name|urlencode}")}" title="{l s='More about' mod='blocktags'} {$tag.name|escape:html:'UTF-8'}" class="{$tag.class} {if $smarty.foreach.myLoop.last}last_item{elseif $smarty.foreach.myLoop.first}first_item{else}item{/if}">{$tag.name|escape:html:'UTF-8'}</a>
{/foreach}

Link to comment
Share on other sites

you can add style="display:block; clear:both;"

after that tags will appear line - by - line

 

pozdrowienia z Polski ;-)

 

added display:block; clear:both;

in blocktags.css -> div.tags_block p a { }

 

solved problem , thank you

 

dziękuję i Pozdrawiam również ^_^

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...