Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)


{docurl}

Displaying Subcategories In Rows

How do I display my subcategories in rows using the new %subcats% token? (2003/05/02)

To make rows, say 3 across, out of the subcategories. Try this:

In the "Main Template" of the template make sure your %subcats% token is in a table:

<table>

%subcats%
</table>

in the "Sub-category row template" change the contents to:

<tr><td>
%subcat|01|%
</td><td>
%subcat|02|%
</td><td>
%subcat|03|%
</td></tr>

And put <table> and </table> above and below the contenst of the "Sub-category main template".

That should display the subcategories 3 across.

Of course if you have the %subcats% token in the "sub-cateogry main template", make sure that the html inserted there fits with new table structure.



Last update: 2003-07-29 00:25
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category