Page 1 of 1

Only display a set number of content items per page

Posted: Wed May 03, 2006 4:53 am
by sephir
I am making a camera review site, and what I want to do is to only display a set number of content items per page. So, suppose under a given manufacturer there are dozens of reviews, but I only want 3 to show up per page -- the user would use links to see the other content items on that page.  How could I do this?

Re: Only display a set number of content items per page

Posted: Wed May 03, 2006 5:30 am
by Dr.CSS
if it's still on the same page but you want it hidden till they clik something you could use the "startExpandCollapse/stopExpandCollapse"
Tag, it hides/shows content by clicking something, usually words.

    HTH
          mark

Re: Only display a set number of content items per page

Posted: Wed May 03, 2006 6:23 am
by sephir
ah, what you mean is a dhtml expand/collapse layer. What I am thinking of is some way of getting one of those "next 10 items" on the bottom of the content, just so that I can: a) control the amount of content on each page, and b) not have to make large amounts of links in the nav menu.

This likely involves embedding some php code.

Re: Only display a set number of content items per page

Posted: Wed May 03, 2006 8:02 am
by Dr.CSS
yes i think the expand collapse tag is what you said, i tried making a button for next out of part of the page break button in the form module, but had to tell it what page to go to, you can make pages that don't get put on the menu as links, but then you are loading another page, so i'm not sure how at this point, sorry  :(

    mark