Jump to content
nolis

Tm Categories

Recommended Posts

Hey I updated my Shop to 1.5.3.1 from an older 1.4 but TM Categories (which I use as Main Navigation for Categories) doesn't work anymore. I checked the html source and it shows that everything is hooked in right:

 

This is the sourcecode from frontend just copied out:

<!-- TM Categories -->
<script type="text/javascript" src="/shop/modules/tmcategories/superfish.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('ul.sf-menu').superfish({
delay: 1000,
animation: {opacity:'show',height:'show'},
speed: 'fast',
autoArrows: false,
dropShadows: false
});
});
</script>
<div class="clearblock"></div>
<div id="tmcategories">
<ul id="tmc" class="sf-menu">
 </ul>
</div>
<!-- /TM Categories -->

 

As you see the <UL> tag is empty, no <LI>.. here is the module template file, do I need to change something here.. to make the <li> tags with the cantegories to appear.

 

This is from the template:

<!-- TM Categories -->
<script type="text/javascript" src="{$module_dir}superfish.js"></script>
{literal}
<script type="text/javascript">
$(document).ready(function() {
$('ul.sf-menu').superfish({
delay: 1000,
animation: {opacity:'show',height:'show'},
speed: 'fast',
autoArrows: false,
dropShadows: false
});
});
</script>
{/literal}
<div class="clearblock"></div>
<div id="tmcategories">
<ul id="tmc" class="sf-menu">
{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>
</div>
<!-- /TM Categories -->

Edited by nolis (see edit history)

Share this post


Link to post
Share on other sites

I am having exactly the same issue and have tried all I know, so now must hand over to someone with greater knowledge than I.

 

Any help/advice/guidance would be much appreciated. :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More