Multiple record field listing problem

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 8, 2009   (RSS)

By northernpenguin - December 7, 2009 - edited: December 8, 2009

Hi

I'm having a bit of a problem with a multiple record section editor - specifically the List Page. Using CMSB v1.36, I set a limit of 5 records per page.... works great. The exact same section editor with CMSB v2.0 and a limit of 5 records/page is a problem. When I try to go to the second page, I get the foll error: Record not found!

I am very confused! I have double checked everything and am still getting the same error!

Help!

[Update] Ok, I figured out what I did! I have both a single record section editor and a multi record section editor in the same page. So, I need a way to ensure that both editor contents show up in the same page. I solved it by placing the single editor record in an <IFRAME>. Not sure if this is the most elegant method, but it works!

If anyone has a better idea, please tell me!

[cool]
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Re: [northernpenguin] Multiple record field listing problem

By ross - December 8, 2009

Hi Aurthur.

Thanks for posting!

What's happening there is that on page 2, there will be a page=2 up in the URL. The code for your single page viewer is set to use the last number in the URL to look up a record but in this case, you don't want that to happen.

What you'll want to try first is just removing the "where" line from your single page viewer.

Give that a shot and see if you can get them both running on the same page again.

Thanks!
-----------------------------------------------------------
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/