Jump to content

removing description rollover of categories


Recommended Posts

if you rollover the category names, you get the description as a tootip in firefox. is it possible to set
use_desc_for_title=0 <=== that's how you would do it in wordpress
or something like that somewhere in the code?

or maybe set it to use only the short description?

Link to comment
Share on other sites

There is no option in the Back Office to hide tooltips. To remove the tooltips from the categories block, you will need to change line 2 of modules/blockcategories/category-tree-branch.tpl from:

    {$node.name|escape:htmlall:'UTF-8'}



to:

{$node.name|escape:htmlall:'UTF-8'}



To limit the length of the tooltip, change the line to:

    {$node.name|escape:htmlall:'UTF-8'}



where 35 is the maximum number of characters before it is truncated and ... is added.

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
  • 3 months later...

There is no option in the Back Office to hide tooltips. To remove the tooltips from the categories block, you will need to change line 2 of modules/blockcategories/category-tree-branch.tpl from:

	[url="{$node.link|escape:htmlall:"]{$node.name|escape:htmlall:'UTF-8'}[/url]

to:

[url="{$node.link|escape:htmlall:"]{$node.name|escape:htmlall:'UTF-8'}[/url]

To limit the length of the tooltip, change the line to:

	[url="{$node.link|escape:htmlall:"]{$node.name|escape:htmlall:'UTF-8'}[/url]

where 35 is the maximum number of characters before it is truncated and ... is added.

 

They all look the same to me... ?

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 4 weeks later...
  • 2 weeks later...
×
×
  • Create New...