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: [Dave] Help with this site please

By chassa2556 - June 9, 2008 - edited: June 9, 2008

thanks for this Dave. The client does not need to adjust menu items. Have put up some CMS builder pages as sections

http://www.straloch.com/dower_house.php

Looking at the link you will notice that there are some sub-menu items eg 'Local Perthshire attractions' & 'contact' . What is the best way of doing these. As another single page section and then link it up?

My next question is if you look at this link

http://www.straloch.com/availability.php

the client is quite happy to colour in boxes of cells from an html table but is this possible with CMS builder?

Many thanks in advance

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