in reply to (Ovid) Re(2): User-updatable web sites
in thread User-updatable web sites

Personally, I would just have a set / static header.txt & footer.txt file(s) and have the user modify the content. Thus, if I wanted to change the navigation/banners/layout, as long as I had the new templates written to properly display the included content files, things would propagate seamlessly.

Server Side Includes would be a must for this application. Each user would have their index.html file, and all it would consist of would be SSI calls to include:

header.txt
content.txt
footer.txt

Its really not that complicated. But takes some getting used to. This way meta tags cant really be used, and I would take into consideration the notes from the node above as well..
I hope this sheds some light on the subject,

_14k4 - webmaster@860.org (www.poorheart.com)

Replies are listed 'Best First'.
Re: Re: (Ovid) Re(2): User-updatable web sites
by Stamp_Guy (Monk) on Mar 27, 2001 at 09:15 UTC
    The main issue I have with that is that the user that will be maintaining this site doesn't have a clue about web design nor the desire to learn HTML. I have to make it so they can change individual elements and blocks of text without messing up the layout.
      Sure thing. If you had each block of text, or individual element as a seperate included file, it should work out fine.
      <!-- #include file="picture.gif --> <!-- #include file="maintext.txt" --> etc..
      (Keep in mind I havent used SSI in a bit, thus, my syntax may be off.... Oh well)

      If you have the user browse for images to update, and can check off which ones they want on the page, and what text goes where, you shouldnt have a problem. You may be able to work something out where they can upload a word doc or excel spreadsheet and have that linked onto the page. We do it with mod_perl and essi here on our intranet. Lots of pdf files.

      _14k4 - webmaster@860.org (www.poorheart.com)
        That is in essence what I'm planning on doing, but without SSI. I would use a template module instead (a really simple one I found) and generate actual files off of that. Sound ok to everyone? Does anyone have a better way of doing it?