PDA

View Full Version : limiting the number of products in a section


lilolad
01-Apr-2003, 10:19 PM
Hi,
I think I know the answer to this already, but is there a way in Actinic that you can set the number of products shown on a page without having to create numerous sub-sections and dividing the products up?

i.e. if there are 50 products in a particular section and you want to show 10 products at a time, is there a way putting all the products into one section and then telling actinic to show 10 to a page with "next" and "previous" links or anything like that?

thanks in advance,
Matt

pinbrook
02-Apr-2003, 05:54 AM
You are correct in assuming you already know the answer to this one.....

I have also requested what you ask for. It seems a far more sensible way to order products for use with previous and next

cdicken
02-Apr-2003, 09:20 AM
This is being looked at closely for the next major release.

In the meantime, all you can do is manually split your large section into several smaller sections and then use code similar to the following within the overall layout (primary) template for the sections where you want next/previous links.

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="NETQUOTEVAR:PREV_SECTION_URL">
NETQUOTEVAR:PREV_SECTION_NAME</a>
</td>
<td align="right"><a href="NETQUOTEVAR:NEXT_SECTION_URL">
NETQUOTEVAR:NEXT_SECTION_NAME
</a></td>
</tr>
</table>

lilolad
02-Apr-2003, 10:39 AM
thanks very much for this.
I'll give that a go.

cheers,
Matt