Forums / Cotonti / Support / How to show all categories and its sub categories in the list?

foxhound
#39248 2014-03-02 16:09

Yes, that is what I am trying but it always output all categoeires and subcategories in my menu. It does not show the subcategoeries on hover, it just adds them like a normal category.
I added the following to my catlist.tpl: 

<!-- BEGIN: MAIN -->
<div id="navigation" class="navigation">
    <ul>
<!-- BEGIN: CAT_ROW -->
        <li><a href="index.php?e=page&c={CAT_NAME}">{CAT_NAME}</a>
        	<ul class="sub-menu">
			<li><a href="index.php?e=page&c={CAT_NAME}">{CAT_NAME}</a></li>
    		</ul>
        </li>
<!-- END: CAT_ROW -->
</ul>
</div>
<!-- END: MAIN -->

 

But what it does is just create a dropdown for every item in the category and the dropdown will be the item itself. One big mess.
If you want I can show it on my test website so you can see what is happening (sent me a PM cause I would need to allow your IP!). Or I can paste all css and coding here. I really do not get it how I can make this work :(

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />