Categories and subcategories

Leonardo

New Member
Hello,

I would like to know how to create categories and subcategories, eg

Console Gaming
-- Nintendo Wii
-- Playstation

MMORPG Games
-- Aion
-- Cabal Online

Could I help make this change, please?

Thank you! ;)
 
Hello, there is no support for sub categories at this time. Very few topsite lists ever get big enough to make good use of sub categories and it ends up with many empty or low populated categories.

We are looking at different options for the future, most likely we will use "tags" or "Category Pools" as recommended by another user.
 
ahh sure, you can edit wrapper template and remove this tag: {$category_menu}

then you can manually build your menu how you like.
example:
Code:
<h3 class="heading">Console Gaming</h3>
<ul class="category_menu">
<li><a href="{$list_url}/{$url_helper_cat}CATEGORY_NAME_URL_VERSION{$url_tail}">Category Name</a></li>
<li><a href="{$list_url}/{$url_helper_cat}NEXT_CATEGORY_NAME_URL_VERSION{$url_tail}">Next Category Name</a></li>
</ul>
<h3 class="heading">MMORPG Games</h3>
 
<ul class="category_menu">
<li><a href="{$list_url}/{$url_helper_cat}CATEGORY_NAME_URL_VERSION{$url_tail}">Category Name</a></li>
<li><a href="{$list_url}/{$url_helper_cat}NEXT_CATEGORY_NAME_URL_VERSION{$url_tail}">Next Category Name</a></li>
</ul>

you might want to look at the existing paths to find the "CATEGORY_NAME_URL_VERSION", basically we replace all spaces and & with -

does that help get you going?
 
Thank you, worked perfectly.

Only one observation, got 2 bars on the road, but the operation did not hurt, do you think will affect something?

/category//category/
 
This is because {$url_helper_cat} is allready defined including the slash, deleting the slash in the html will do the trick
 
Back
Top