apshop Posted October 10, 2011 Share Posted October 10, 2011 Hi I've installed the martice theme,everything is correct yet none of the lists of subjects are shown,and the 'categories' section completely disappears except for the title of the section which is named "categories". somewhere "Display:none" has been used but when I check with firebug it does not show in which file I must apply "Display:Block" to solve the problem . ? :-( The code that causes the disappearing of the categories is below: <ul class ="tree dhtml" style="display:none"> Link to comment Share on other sites More sharing options...
senior426 Posted October 10, 2011 Share Posted October 10, 2011 ../modules/blockcategories/blockcategories.tpl 1 Link to comment Share on other sites More sharing options...
apshop Posted October 10, 2011 Author Share Posted October 10, 2011 Thanks for your help . Could you please send me the code that has to be replaced to solve the problem, because I don't know php so I have no idea which code in this file has to be replaced with another. If anyone knows, please help! By the way, in Martice theme the problem of the Categories Block disappearing does exist! thanks. ../modules/blockcategories/blockcategories.tpl ---->> is below ----------------------------------------------------------------- <!-- Block categories module --> <div id="categories_block_left" class="block"> <h4>{l s='Categories' mod='blockcategories'}</h4> <div class="block_content"> <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {/foreach} </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> </div> </div> <!-- /Block categories module --> Link to comment Share on other sites More sharing options...
senior426 Posted October 10, 2011 Share Posted October 10, 2011 Give me a link to your store Link to comment Share on other sites More sharing options...
apshop Posted October 11, 2011 Author Share Posted October 11, 2011 after romoving the code below ,block categories appears now ,thanks again :-) {* 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> Link to comment Share on other sites More sharing options...
Recommended Posts