Only display a set number of content items per page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
sephir

Only display a set number of content items per page

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

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

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

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

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

Return to “Layout and Design (CSS & HTML)”