On my Resources page, I need categories to be listed with subcategories in the following manner:
Category
Sub-Category (# of links)
Sub-Category (# of links)
Sub-Category (# of links)
Sub-Category (# of links)
Category
Sub-Category (# of links)
Sub-Category (# of links)
Sub-Category (# of links)
Sub-Category (# of links)
Rather than having to click on a category, then go to th esub-category page and click, then the links page. I want you to just be able to click on the Sub-Category and go straight to the page with links.
I hope this is possible! _________________ Natalie
Thu Mar 22, 2007 12:26 pm
LinkAssistant
Site Admin
Joined: 26 Sep 2005
Posts: 882
ngrogan, this is definitely possible
By deault you've got the following piece of code for displaying a list of categories
Code:
<[!-- List of child categories - Start --/]>
<[FOR_EACH_SUBCATEGORY hideEmpty="true"]>
<b><a href="<[CATEGORY_PAGE_FILE/]>"><[CATEGORY_NAME/]></a> (<[AMOUNT_OF_PARTNERS_IN_CATEGORY withSubcategories="true"/]>)</b>
<br>
<[/FOR_EACH_SUBCATEGORY]>
<br>
<[!-- List of child categories - End --/]>
Please replace that code with the following code snippet:
Code:
<[!-- List of child categories - Start --/]>
<[FOR_EACH_SUBCATEGORY hideEmpty="true"]>
<b><a href="<[CATEGORY_PAGE_FILE/]>"><[CATEGORY_NAME/]></a></b>
<br>
<[FOR_EACH_SUBCATEGORY hideEmpty="true"]>
<b> - <a href="<[CATEGORY_PAGE_FILE/]>"><[CATEGORY_NAME/]></a> (<[AMOUNT_OF_PARTNERS_IN_CATEGORY withSubcategories="true"/]>)</b>
<br>
<[/FOR_EACH_SUBCATEGORY]>
<br>
<[/FOR_EACH_SUBCATEGORY]>
<br>
<[!-- List of child categories - End --/]>