Mixed List and Page View Behaviour

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 14, 2008   (RSS)

By InHouse - April 14, 2008

Maybe I'm just suffering from Monday-Brain here, but I'm stuck on trying to get the best of both worlds. I'd like to have a mix of the Page View and List View functions on one page.

Example: A single page which, when first loaded, shows a single article from a multi-page editor. Ideally, that article need not be the num=1 article like the current Page View, but could be selected by a field value (i.e.: featured = 1, or a date DESC condition). That same page should also support a List View of all that table's articles. When one of these links is clicked, the page is reloaded and the new article will be only one shown.

I can get almost all of this, but I'm dependent on the recordNum being 1 for the first shown article. I'd like to have more control over this. If I use the WHERE clause to pick the first-shown article, I lose the function of the archive list for subsequent page loads.

Any ideas?

Jayme

Re: [Dave] Mixed List and Page View Behaviour

By InHouse - April 14, 2008

Hi Dave,

Thanks! As ever, you're on top of things. This looks like just the ticket.

Best wishes,
Jayme