Re: [virgodesign] Combine List Viewer and Page Viewer

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 5, 2008   (RSS)

By Dave - May 5, 2008

Hi Avrom,

So you have a page viewer and list viewer on that page already, right? It doesn't seem to change when I click the link.

What you can do is use a little snippet of code like this to load either the record on the end of the url or record 2:

$numOnEndOfUrl = getNumberFromEndOfUrl();
if ($numOnEndOfUrl) { $options['recordNum'] = $numOnEndOfUrl; }
else { $options['recordNum'] = 2; }


Let me know if that will work for you.
Dave Edis - Senior Developer
interactivetools.com