Common areas of sites

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

By aussierivers - August 1, 2009 - edited: August 1, 2009

Newbie warning

I typically use SSI includes for common areas, and often this common area will include the Address/contact details or a simple specials announcement

so i would use.e.g.
if. php file

<? include "include/address.htm" ?>
or
<? include "include/specials.htm" ?>


I have a ready built site that i just want to provide a simple CMS for the client to edit text. The site has no fancy calendars, news articles,menu building, or anything requiring multiple menu section types, just single section record type. They do only want to edit the common areas once.

Ive trawled the support documentation and just cant see the solution for the simple site.

I dont want to recreate any html code, just plug in my existing code into the system.

What are the first steps, in particular for setting out the separate pages, and common areas.?

I have something working but wondering if i approached it the wrong way. Per other thread, firstly my html code doesnt seem to quite transplant exactly the same.

help.

Re: [aussierivers] Common areas of sites

By ross - August 3, 2009

Hi there.

Thanks for posting!

There are going to be lots of ways to get this going so don't worry about that part :).

In your other thread I suggested trying to re-create the table structure using the editor itself instead of just copying in code.

An alternative to that though would be to set up CMS Builder so you are editing the fields of your table individually instead of in one big group.

So if you had 10 things in your table, you would have 10 fields in CMS Builder. That way, you are only editing one thing at a time and the HTML for your table isn't really a factor.

Does that make sense? Perhaps you could post me a copy of one common file so I can take a look at what you need.

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/

Re: [aussierivers] Common areas of sites

By Dave - August 3, 2009

Hi aussierivers,

A few tips:

- If your site is already setup as .php pages, you can just create a single record section (eg: About Us) and then insert the viewer code into your existing page (aboutus.php)

- Or If you're already using includes, you can create a single record viewer and include that, so replace this <? include "include/address.htm" ?> with <?php include "include/address.php" ?>

Let me know if that helps! If you need more help describe a page you are trying to update and we'll walk you through it.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Common areas of sites

Dave.

Why didnt i think of that! Must have been under pressure the other day.

Cheers

Re: [aussierivers] Common areas of sites

By ross - August 5, 2009

Hi there.

I think the best way to look at all this is if it works for you, that's the way to do it :).

There are usually two or three different ways to do every single thing you want so it's just a matter of finding the one you like best.

Keep us up to date with how you are making out :).
-----------------------------------------------------------
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/