2 replies [Last post]
chikoppi
Offline
Enthusiast
Last seen: 9 years 45 weeks ago
Timezone: GMT-6
Joined: 2006-06-25
Posts: 85
Points: 2

Hi all,

I'm trying to find a simple solution to allow clients to have limited ability to edit text on a web page without having to install a complete CMS web site.

I'm not sure if something like this exists, but I figure this is the place to ask.

Essentially, I'd like to have an editable text string that would insert into a web page - similar to the way google custom search works. The text is entered/edited in a browser interface, an insert code is placed on the appropriate web page, and the text gets rendered on page display. The client could edit the text, but only the text, using a third-party browser interface.

Any ideas? Thanks!

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 3 years 14 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

If you are using PHP that's

If you are using PHP that's as simple as a $_GET

<a href="http://www.example.com/?text=This+is+my+text+string" rel="nofollow">http://www.example.com/?text=This+is+my+text+string</a>

<!DOCTYPE html>
<html>
<head>
<title>some title</title>
</head>
<body>
<p><?php echo $_GET['text']; ?></p>
</body>
</html>

You will want some filtering on it I'm sure due to cross site scripting attacks and what not...

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 18 weeks 4 days ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2043
Points: 2268

Spam whore!

Spam whore!