Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hi,

On my portfolio I have quite a few cloned pages (or you might call them articles, items or news). So each cloned page gives information about that particular work etc.

The thing is, on my main page of the website I would love to be able to skip listing the first 5 items in the portfolio folder. I have a jQuery slider at the top with 5 items in it, below that slider I would still like to list a few more items, but I don't want those 5 from the slider to show up as well. Is this possible at all?

I hope you understand what I mean...
Hi Datsun,

That is simple - just add the 'offset' parameter to the cms:pages tag e.g.
Code: Select all
<cms:pages masterpage='blog.php' limit='4' offset='5'>
   ...
</cms:pages>

the code above will fetch 4 pages after skipping the first 5.

You can find info about all he parameters supported by 'pages' tag at http://www.couchcms.com/docs/tags-reference/pages.html

Hope this helps.
Thanks KK, guess I didn't check the tutorial section well enough. I'll do that next time ;)

Thank you
3 posts Page 1 of 1