HI,
I am struggling to find a clear answer as to how I could generate a nested list of categories and subcategories for use in the Category Tabs. Basically all I need is a list in the form:
Code:
<ul>
<li>Category Link
<ul>
<li>Subcategory Link</li>
<li>Subcategory Link</li>
</ul>
</li>
<li>Category Link
<ul>
<li>Subcategory Link</li>
<li>Subcategory Link</li>
</ul>
</li>
</ul>
I have links other than top level Categories that I want to appear there so I have been working with the tpl_modules_categories_tabs.php file. $links_list is a list of the top level categories but I need also a subcategory list for each top level category.
I am not a seasoned php coder so I'm a bit lost and appreciate that I could be over or under complicating things. I have searched the forums but haven't found any answers at my level. I looked at CSS Horizontal Drop Down Menu but it just seems to make a dropdown of the whole Categories list which is not quite what I'm trying to do. Is there a simple answer to this problem?
Thanks
Mike
Bookmarks