istalgas Posted March 2, 2012 Share Posted March 2, 2012 Hello i have a problem i want to remove the submenu from the general menu is that posible i can´t find the code ... look at the photo please thanks. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted March 2, 2012 Share Posted March 2, 2012 Hi istalgas, I'm not sure which theme you're using specifically, but if the developer has created this theme to allow you to configure it, the option will likely be in the top menu module (might have a different name though, again it depends on the individual developer). I hope this helps. -Mike Link to comment Share on other sites More sharing options...
istalgas Posted March 2, 2012 Author Share Posted March 2, 2012 I am using this theme take look at the demo http://demo.presthemes.com/#eris in theme module folder i just have those blockadvertising blockcart blockcms blockpermanetlinks blockspecials blockuserinfo blockviewed there is no top menu module. and , i search for it in the prestashop modules there is no top menu module. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted March 2, 2012 Share Posted March 2, 2012 Hi istalgas, I took a quick look at that theme, and it looks like the module you should be looking for in your Back Office is called "Block top categories." It may not be possible to do this with that theme, although the best way to find out for sure would be to contact the developer directly through his site. -Mike Link to comment Share on other sites More sharing options...
istalgas Posted March 2, 2012 Author Share Posted March 2, 2012 Hello i just have cart block top, and block categories there is no block top categories but thanks anyway i will try to ask the developer. Link to comment Share on other sites More sharing options...
istalgas Posted March 2, 2012 Author Share Posted March 2, 2012 Ok i find the module, and i have this code in category-tree-branch.tpl <li class="{if isset($class)}{$class}{else}item{/if}{if $node.children|@count > 0} submenu{/if}{if isset($currentCategoryId) && ($node.id == $currentCategoryId)} selected{/if}"> <a href="{$node.link}" {if $node.level==1}class="menu"{/if} title="{$node.name|escape:html:'UTF-8'}"><span>{$node.name|escape:html:'UTF-8'}</span></a> {if $node.children|@count > 0} <ul class="subcategories"> {foreach from=$node.children item=child name=categoryTreeBranch} {if isset($smarty.foreach.categoryTreeBranch) && $smarty.foreach.categoryTreeBranch.last} {include file="$branche_tpl_path" node=$child class='last'} {elseif isset($smarty.foreach.categoryTreeBranch) && $smarty.foreach.categoryTreeBranch.first} {include file="$branche_tpl_path" node=$child class='first'} {else} {include file="$branche_tpl_path" node=$child last='false'} {/if} {/foreach} </ul> {/if} </li> there is one more file blocktopcategories.php ? any help thanks. Link to comment Share on other sites More sharing options...
ollorin Posted June 6, 2012 Share Posted June 6, 2012 sorry, but anyone have file "blocktopcategories.php"? Can you help me and share it? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 6, 2012 Share Posted June 6, 2012 sorry, but anyone have file "blocktopcategories.php"? Can you help me and share it? Hi ollorin, You can download a fresh copy of PrestaShop from our website, unzip it and grab a new copy of that file for yourself. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
ollorin Posted June 6, 2012 Share Posted June 6, 2012 (edited) hm, I have copy of PrestaShop zip file prestashop_1.4.8.2.zip, as far as I remember I downloaded it couple days ago from this site. But I cant find module "blocktopcategories" here also as a file what I needed =\ so, I going here and asking - may be anyone can help me. Edited June 6, 2012 by ollorin (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 6, 2012 Share Posted June 6, 2012 It appears that the blocktopcategories module may be specific to your theme, so I would check with whoever developed your theme. -Mike Link to comment Share on other sites More sharing options...
ollorin Posted June 6, 2012 Share Posted June 6, 2012 yep, I think that is a very specific module - I have peace of it - tpl and xml files, but not php. I tried to find full pack of this module or it's developer, but find only this theme. This making me crazy, but I see that I must investigate and try to write this php-code myself. I'll try to do this with developer documentation from this site =\ Link to comment Share on other sites More sharing options...
ollorin Posted June 6, 2012 Share Posted June 6, 2012 and last try, before I go out, 2 examples of themes with this module: http://demo.presthemes.com/eris/ http://demo.presthemes.com/watchesis/ Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 6, 2012 Share Posted June 6, 2012 and last try, before I go out, 2 examples of themes with this module: http://demo.presthemes.com/eris/ http://demo.presthemes.com/watchesis/ Yes, you'll want to contact the developers at presthemes to get a new copy of that file, as they are not officially affiliated with us and we do not have access to any of their content or files like we would with our own. -Mike Link to comment Share on other sites More sharing options...
ollorin Posted June 6, 2012 Share Posted June 6, 2012 OK. Mike, thanks for answers and help. Link to comment Share on other sites More sharing options...
Recommended Posts