dogiecutiepie Posted December 15, 2014 Share Posted December 15, 2014 I'm using Uhupage Theme 139, it comes with a Uhu Top Medu addon, I can't seem to find how to disable the default menu items "categories, products, brands". Anyone can help explain how this is modified please? I attached the source php file of the addon, and here is the tpl, can anyone help explain how to disable the three items? Thanks! {* uhupage v4.16.03 *}{if $MENU != ''} </div> <!-- Menu --> <div class="menu"> <ul class="nav_item umenu"> {if $showhome == 'true'} <li class="home"> <a href="{$base_dir|escape:'htmlall':'UTF-8'}" class="roll"><span data-title="{l s='Home' mod='uhu_topmenu'}">{l s='Home' mod='uhu_topmenu'}</span></a> </li> {/if} {$MENU|replace:"Categories":"{l s='Categories' mod='uhu_topmenu'}"|replace:"Products":"{l s='Products' mod='uhu_topmenu'}"|replace:"Brands":"{l s='Brands' mod='uhu_topmenu'}"|replace:"About":"{l s='About' mod='uhu_topmenu'}"|replace:"Links":"{l s='Links' mod='uhu_topmenu'}"} </ul> <ul class="mobile tree dhtml"> {$MENU_MOBILE|replace:"Categories":"{l s='Categories' mod='uhu_topmenu'}"} </ul> {* Javascript moved here to fix bug #PSCFI-151 *} <script type="text/javascript"> // <![CDATA[ // we hide the tree only if JavaScript is activated $('div#categories_block_left ul.dhtml').hide(); // ]]> </script> <script type="text/javascript"> $(document).ready(function(){ $('div.nav_pop').css({ 'visibility':'hidden', 'height':'0px' }); $('.nav_item > li').mouseover(function(){ var openMenu= $(this).children('div.nav_pop'); $(this).children('div.nav_pop').css({ 'visibility':'visible', 'height':'auto' }); }); $('.nav_item > li').mouseleave(function(){ $('div.nav_pop').css({ 'visibility':'hidden', 'height':'0px' }) }); }); </script> <!--/ Menu -->{/if} uhu_topmenu.php Link to comment Share on other sites More sharing options...
echauguette Posted February 4, 2015 Share Posted February 4, 2015 Hello, I'm sorry I cannot help with your probleme I just wanted to know if you had found a solution because I have the same problem with my uhu theme too ... Thank you by advance if you can give me the solution!! Link to comment Share on other sites More sharing options...
oho Posted February 9, 2015 Share Posted February 9, 2015 (edited) Hello, You will find a start solution in the uhu_setting and at the section top menu. Edited February 9, 2015 by oho (see edit history) Link to comment Share on other sites More sharing options...
dogiecutiepie Posted February 10, 2015 Author Share Posted February 10, 2015 It worked after I downgraded to a previous version of prestashop. however does the multilanguage function work with your cycle slider? I can't get it to work using the field separator "|", although it works with the bxslider. Link to comment Share on other sites More sharing options...
oho Posted February 10, 2015 Share Posted February 10, 2015 Where is uhu_topmenu.php in the uhu theme ? Link to comment Share on other sites More sharing options...
Recommended Posts