Help with this site please

6 posts by 2 authors in: Forums > CMS Builder
Last Post: June 10, 2008   (RSS)

By chassa2556 - June 6, 2008

I am a bit of a newbie with CMS builder and need to use it in as easy and effective way with this site...

http://www.straloch.com/

I am particularly concerned to accomplish a sensible strategy for the navigation with the sub navigation underneath.

Any other advice would be great for how to CMS the site.

Also does anyone know of a good quickstart guide for CMS builder? I have used Article Manager so am not a complete newbie but I understand that CMS builder works differently.

Many thanks in advance

Re: [chassa2556] Help with this site please

By Dave - June 6, 2008

Hi chassa2556, welcome to the CMS Builder forum! :)

It looks like there could be some sections on that site that might be a bit complex to implement (such as the calendar). What I'd recommend to get started is just creating a few test sections to get familiar with how things work. Create a news section. Then create a list viewer and detail viewer for it. Try adding a new field, etc.

Once you've done that we can take a look at the site and figure out the best way to do it. Will the client need to add items to the navigation or sub navigation or just update the existing pages?
Dave Edis - Senior Developer
interactivetools.com

Re: [chassa2556] Help with this site please

By Dave - June 9, 2008

Hi Charles,

There's a few ways to do it. One way is just to create lots of single page sections. Another way, if you find most of your pages have the same fields (title, content, uploads), is that you can create a multi page section called "Pages" and add a field for "pageName" and then use the same viewer code to load specific pages by adding:

'where' => 'pageName = "dower house"',

Let me know if you want more details on that method.

I'll post in the other thread about the availability table.

Hope that helps, let me know if you need anything else.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Help with this site please

By chassa2556 - June 10, 2008

Yes please Dave can you give me details of this method?

Re: [chassa2556] Help with this site please

By Dave - June 10, 2008

Hi Charles,

Well basically you just create a multi page section called "Pages" with fields for: pageName, title, content, and uploads. The "pageName" field could be a textfield, or a pulldown so only certain pageNames can be selected. PageName is just a made up name we use to refer to a specific page in the code.

Then when you go to the code generator create a "detail page" and under "Which Record" select:

(X) Advanced: Loading first record matching MySQL "Where" clause:

and enter this: pageName = "aboutUs"

Then it will generate some code that only loads that one page. So basically you can group all your pages under one section and use almost the same code to load different pages where you need them.

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