Edit 2 Sections on 1 page

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

By ajstocco - May 1, 2009

Ok, I'm ready for the next step!

Re: [ajstocco] Edit 2 Sections on 1 page

By ross - May 1, 2009

Great!

The next step is to setup a template page so you can display your new content.

Do you already have a template?

Once you have the template setup, you need to add the viewer code to the top of this (make sure it's the single page viewer code).

You'll have something like this in it:

'where' => whereRecordNumberInUrl(1),

You need to change that to something like this:

'where' => 'num == 7'

The 7 there will need to change to the record number from CMS Builder. To find that, just go into CMS Builder and click modify on one of the "pages" you created. The number you use up in the URL (at the very end) will be the record number.

Does that all make sense? 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/

By ajstocco - May 1, 2009

Not sure what you mean by template... I setup all of the pages with 1 area to edit before I started this process.

Re: [ajstocco] Edit 2 Sections on 1 page

By ross - May 4, 2009

Hi there.

That sounds about right. Just make sure each of your pages has the viewer code up at the top and the appropriate number so it pulls in the record you need it to.
-----------------------------------------------------------
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/