List and detail on same page

6 posts by 5 authors in: Forums > CMS Builder
Last Post: January 15, 2009   (RSS)

I'm looking for a way to have 1 page function as both the listing page and the detail page.

I have a page that has a listing showing only the title field in the right column. I was wondering if it's possible to (on that same page) to set up the left column to display the title and content fields when one of the listings is clicked. This would require that one page to function as both the list page and the detail page.

Re: [KaboomJk] List and detail on same page

By _kate_ - January 13, 2009

You could create a page with frames or better yet one iframe, and call say the left hand column A.

You could then make a list page as per normal, edit it so that it shows only the titles and link that to the "detail" page and set the source for it to open in as Frame A. Then simply make up a detail page so that the content can be generated for the iframe.

Does that make sense? Hopefully :)
If you have any further questions or need me to explain further please don't hesitate to ask. Perhaps someone else may even have a simpler solution for you...

Re: [KaboomJk] List and detail on same page

By Dave - January 13, 2009

>Perhaps someone else may even have a simpler solution for you...

You can also have the list and detail viewer code on the same page, but not with paging. If you need to page through the records it doesn't work.

Do you have a mockup of the page you're working on?
Dave Edis - Senior Developer
interactivetools.com

Re: [_kate_] List and detail on same page

Thanks,

It looks like the iframe solution will work for what I'm doing.

Re: [KaboomJk] List and detail on same page

By zip222 - January 15, 2009

It can also be done using an include. Why use frames or iframes if you don't need to?