Jump to content

The list of the names of subjects in the 'categories' section disappears when the 'Matrice theme" is


Recommended Posts

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

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

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

×
×
  • Create New...