Boris726 Posted August 10, 2013 Share Posted August 10, 2013 When mouse over a link of the Categories block left we can see pop up frame with information from categories description (see picture). If we have long description - we get big size frame... It is in the title of the link: <div id="categories_block_left" class="block"> <h4>Categories</h4> <div class="block_content"> <ul class="tree dynamized" style="display: block;"> <li> <li> <a class="selected" title="Crank it up to 11 and join the gadget revolution!" href="http://demo-store.prestashop.com/en/6-electronics">Electronics</a> </li> How to switch a pop up frame off or to get the title empty: <a class="selected" title="" href="http://demo-store.prestashop.com/en/6-electronics">Electronics</a> Thank you. Link to comment Share on other sites More sharing options...
vekia Posted August 10, 2013 Share Posted August 10, 2013 in this case you have to edit the module .tpl file: category-tree-branch.tpl file (blockcategories module) you've got there: <a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a> just remove the: title="{$node.desc|escape:'htmlall':'UTF-8'}" 2 Link to comment Share on other sites More sharing options...
Boris726 Posted August 10, 2013 Author Share Posted August 10, 2013 Thank you! Link to comment Share on other sites More sharing options...
vekia Posted August 10, 2013 Share Posted August 10, 2013 you're welcome im going to mark this topic as [solved] if you will have any additional questions related to this case - feel free to continue discussion here best regards Link to comment Share on other sites More sharing options...
Boris726 Posted August 11, 2013 Author Share Posted August 11, 2013 vekia, OK mark this topiс as [solved] It works fine! Just one note: the file category-tree-branch.tpl is placed under /themes/mytheme/modules/blockcategories/ There is also the same name file under /modules/blockcategories/ but it does not work. Thanks again! Link to comment Share on other sites More sharing options...
vekia Posted August 12, 2013 Share Posted August 12, 2013 hello it's because prestashop has got "override" feature. With this great feature you can easily create own template files also for the modules located in your theme file. It mean, that you can customize each aspect of the visible parts of the store with the theme (both modules .tpl and theme files) if module .tpl file exists in the theme directory - then you have edit it, because original file will not work anymore. best regards 1 Link to comment Share on other sites More sharing options...
69star Posted January 25, 2016 Share Posted January 25, 2016 This should by default display the actual category title instead of the category description. We're running 1.6.1.3 and it does the same thing. How could I get this to display the category title instead of description in 1.6.1.3? Sorry to bump an old thread. Link to comment Share on other sites More sharing options...
Recommended Posts