Re: HTML and editing
| From: | Ben Gollmer | Date: | Fri, 14 Jul 2000 23:19:21 +0000 |
| Subject: | Re: HTML and editing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6711@lists.php.net to get a copy of this message | ||
At 04:56 PM 7/14/2000 -0400, you wrote:
hey all... i have a client who wishes to edit his site on-line....so he can change things like menu items, hours..contact people...etc......he very little HTML if any at all and i was wondering how i'd go about loading a HTML file, displaying it WITHOUT the HTML tags so that he can edit it and then putting the HTML tags back in when he saves it...the HTML can be colored or what not...any way so that he knows that he shouldn't play with that stuff.....any ideas? ~kurth Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.netMy company has developed a solution that is similar to what you are looking for. The Jatosoft Web Framework is a system that stores all site content in a MySQL database. The administrators of the site have a easy-to-use web interface that allows them to upload images, change text and links, etc. By using a SQL database rather than a text file to store this information, secure changes can be made to the site, and access restrictions can be incorporated. For example, a company's secretary may only be able to change the "News" section of the site, but their president could change images, links, the whole shebang. It is very easy to add items to the site without writing any HTML. For example, to add a link, the admin just fills out a text box containing the URL to link to, and another text box containing what the text of the link should say. Our PHP then writes the HTML for them, like so: $link = "<a href=\"".$linkURL."\">".$linktext."</a>"; It then inserts that into a database BLOB that contains the HTML for that page. This is really a nice feature to have on a site - no one likes sites that never update. If you need more information, feel free to contact me at ben@jatosoft.com or post a message on the Jatosoft Message Board at http://www.jatosoft.com/. Ben Gollmer Jatosoft, LLC http://www.jatosoft.com/