PDA

View Full Version : Setting a limit for items per page


BigAl
12-Mar-2003, 10:30 AM
Is there a way of setting a limit for the number of items displayed on a page? Under a sub category I have 500+ items (this is the most I can break it down), what I’m trying to do it only display 30 items at any time with a next button at the bottom/top or a link 1-30, 31-60, 61-90 etc.

pinbrook
12-Mar-2003, 11:04 AM
as far as I know you will have to create the sections yourself, I asked about this a while ago whilst trying to get the NEXT and PREVIOUS feature to work

BigAl
12-Mar-2003, 11:56 AM
Thanks, any idea how to configure/code this?

pinbrook
12-Mar-2003, 12:17 PM
you don't code it.....

just arrange your sections to have subsections containing 30 products

cdicken
13-Mar-2003, 11:17 AM
Arrange your products into a series of subsections, and then include the following HTML code within Act_Primary.html (the overall layout template) just above NETQUOTEVAR:BULK:

<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>

This will create links that can take people to the next section and to the previous section.