Multiple Viewers on a page

5 posts by 3 authors in: Forums > CMS Builder
Last Post: August 4, 2009   (RSS)

Re: [craighodges] Multiple Viewers on a page

By ross - August 3, 2009

Hi Craig

Thanks for posting!

You can definitely have two different viewers on the same page. Even if they are coming from the same section. I am curious about one thing though. When you say " allow the user to select", do you mean there will only actually be one list on the page at a time and then perhaps a link that lets the user click back and forth on how it's sorted? Or do you just want to have both lists displayed on the page at the same time?

Let me know :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Multiple Viewers on a page

By craig_bcd - August 3, 2009

Hey Ross -

Thanks! My thought was that it would default to one view when you loaded the page (perhaps view by date) and then in an interior nav option you would have "view by date" and "view by location" links allowing the user to click back and forth with one list on the page at a time.

That said, I don't have strong feelings either way, if they were both on the page and the interior nav bookmarked between them that could work too.

Thanks!

Craig

Re: [craighodges] Multiple Viewers on a page

By Dave - August 3, 2009

Hi Craig,

There's a couple of ways to do this. The simplest is just to have two pages classesByDate.php and classesBylocation.php that identical just just have a different orderBy option so they sort differently.

Another way is to add some code as described in this post:
http://www.interactivetools.com/forum/gforum.cgi?post=73269#73269

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Multiple Viewers on a page

By craig_bcd - August 4, 2009

Hey Dave -

That is perfect! - I like the order by code on the page you referenced. That is just what I want.

I love CMSB! As a developer it is a godsend.

Craig