Allowing people to edit text without accessing the HTML Code.

This is a discussion on "Allowing people to edit text without accessing the HTML Code." within the Starting Out section. This forum, and the thread "Allowing people to edit text without accessing the HTML Code. are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 1st, 2008, 10:07
New Member
Join Date: Feb 2008
Location: Oxford
Age: 16
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Allowing people to edit text without accessing the HTML Code.

Hello!
I'm about to begin developing websites for people as the HTML/CSS programmer with the help of my colleague who specialises in Website Graphics and Templates.

I do however, have one issue.
I would like to find a method that would allow my 'clients' to edit the text of the website without editing any of the HTML code.
If anyone could answer such a question, I would be most greatful.

Thanks,
Eamon
Reply With Quote

  #2 (permalink)  
Old Feb 1st, 2008, 10:22
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,039
Blog Entries: 2
Thanks: 5
Thanked 26 Times in 23 Posts
Re: Allowing people to edit text without accessing the HTML Code.

You would need to use a 'CMS' - or Content Management System.

A CMS enables the client or user to log in to a control panel, where they can manage, modify and add pages and files, usually with very little or no knowledge of programming language.

The CMS 'protects' (to a certain extent) the core of the site, since the user can only modify the content - i.e. text and images. A CMS will use a template you specify or create, and apply it to each subsequent page added or modified by the user.

You can of course code your own, but it requires a certain amount of work. However, there are hundreds of open source systems available you can implement with (usually) little effort.

OpenSourceCMS is a great site where you can try out an array of CMS's already installed and running.

Among them, Wordpress is the popular choice for 'blogging', whilst Drupal, Joomla, Mambo and Textpattern are more advanced 'full-blown' systems.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #3 (permalink)  
Old Feb 1st, 2008, 19:51
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 29
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Allowing people to edit text without accessing the HTML Code.

Or, if you don't want that hassle.. I've done this one for a customer of mine. As long as the customer knows how to upload a file to his or her ftp this might do:

Code: Select all
<?php
//give the name to the file
$filename = "tekst.txt";

//open file
$fileToOpen = fopen($filename,"r");
//set the content of the file into a variable
$content = fread($fileToOpen, filesize($filename));
//set line break
$content = nl2br($content);
//close the file
fclose($fileToOpen);

//write the content
echo($content);
?>
Your client types the text in the .txt-file and uploads that in the same directory as the index.php.
Index.php reads the tekst.txt when it's loaded and done!
Reply With Quote
  #4 (permalink)  
Old Feb 7th, 2008, 20:11
New Member
Join Date: Feb 2008
Location: Oxford
Age: 16
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Allowing people to edit text without accessing the HTML Code.

Thanks very much!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Interface To Edit Text? MikeE Web Page Design 4 Jun 12th, 2008 17:01
[SOLVED] Problem with Mac and Text Edit Claridge Starting Out 6 Nov 29th, 2007 08:43
HTML Easy Edit v1.0 split-visionz Scripts and Online Services 7 Oct 25th, 2007 00:09
Edit text in popup windows. Janisf Flash & Multimedia Forum 7 Aug 2nd, 2007 15:56
html cant edit TTVersion Web Page Design 13 Dec 8th, 2003 12:07


All times are GMT. The time now is 12:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43