SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Site design/setup help

    I've had a request from a client to design a site in such a way that they can update the text themselves - the layout of all the pages are the same, they just want to update the text side... Here's the problem, they don't want to use any programme such as Dreamweaver etc to do that - they only want to see the text and update that (no code visible).

    I would appreciate any help in going about this.

    Thanks!

  2. #2
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Heh, sounds like you need a server side language!

    Do you have any php or asp knowledge? You can set up a simple cms (content management system) with a little help from the book of one of our own advisors, Kevin Yank - details of the book can be found here
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  3. #3
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think the simplest way to do this is using flat files ( Simple text files ), I have a simple system like this for a client to change a monthly offer that his company makes. It involves php and is simpler than you would think.

    You need to check if your server supports php.

    You will need a page where the client would enter the text for the page, this would be best to have a password protected page, this page would contain some php. I use a .htaccess and .htpass files to protect the folder this page is in, your server could make and place these there at no extra charge normally, if you don't want to do it yourself.

    The page the text would be in that the client enters.

    A php file that creates and or changes the text for the flat file.

    The flat file that the text for the page is on. I actually placed this on my server rather than let the php create the file and the php changes or reads the text depending on which function is being used on the file.

    I made mine from taking a very simple php tutorial for creating datbases and then turning the tutorial around to suite my purposes, the tutorial was from the book PHP and MySQL Web developement, it is a very good book for learning databases and some php. Don't worry, the flat file does not involve MySQL, the book just started on flat files as a simple example to creating a database.

    If you type .htacces into a search engine there are some good sites that explain the functions and possible functions of this file, it has other useful purposes.

    Hope this helps
    Mike

  4. #4
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh yeah, I have Kevin's book also but I have not got into it yet as I have not finnished the other book mentioned although I have had a few quick looks at it and it seems a well explained book for php and MySQL, better explained in some ways than the other I mentioned but I don't know if it covers flat files.

    Mike

  5. #5
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help!

    Someone suggested I use ASP and put all the stuff in a Access database... Have never worked with databases before (as you might have picked up)

  6. #6
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yup, either .asp or .php will do, depends what technology you have available. The flat file option could work, but you need to consider content formatting unless the peeps involved have html knowledge, which is why I recommended Kev's approach. I'm sure content formatting must be possible in .asp, I just have no idea where to get info on it.
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •