PDA

View Full Version : Display subcategories on category page


mandini76
03-20-2008, 11:22 PM
Can we get a hack for this for 4.0 please?

http://www.vivvo.net/forums/showthread.php?t=179

One of my subcategories is currently populating most of that parent category.

THANK YOU!

Micha
03-21-2008, 08:28 AM
Here you go:

http://www.vivvo.net/forums/showpost.php?p=10285&postcount=6

mandini76
03-21-2008, 11:41 PM
thanks, but I'm using equal_rights.tpl and not the default.tpl. This is the Code i have to work with... how should I modify it?

thanks!


<div class="box_body">
<vte:foreach item = "article" from = "{article_list}">
<vte:include file="{VIVVO_TEMPLATE_DIR}summary/default.tpl" />
</vte:foreach>
<vte:else>
<vte:value select="{LNG_NO_ENTRIES}" />
</vte:else>
</div>
</div>
</vte:template>
</vte:box>
</div>
</div>
<div id="dynamic_box_center">
<div id="box_center_holder">
<vte:include file="{VIVVO_TEMPLATE_DIR}box/subcategory_headlines.tpl" />
</div>
</div>

Micha
03-22-2008, 11:12 AM
Try moving this line

<vte:include file="{VIVVO_TEMPLATE_DIR}box/subcategory_headlines.tpl" />

Right bellow this foreach

<vte:foreach item = "article" from = "{article_list}">
<vte:include file="{VIVVO_TEMPLATE_DIR}summary/default.tpl" />
</vte:foreach>