PHP AJAX Text Editing.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
davidshq
Forum Newbie
Posts: 12
Joined: Mon May 05, 2008 10:47 pm
Location: Pennsylvania

PHP AJAX Text Editing.

Post by davidshq »

I'm using Pligg on one of my sites, which is written in PHP. Included in the application is a library called qedit_0_3.php. I believe they wrote it internally. It is used to provide AJAX functionality when editing certain sections of the site. When one clicks on text it becomes editable and savable. Cool. But its not on the main pages with all the stories. I've been working on reviewing the code (I'm still new with PHP) and understanding how to implement it so admins. can edit stories on the fly. What I'm wondering though is if there is a better way to handle this than with the built in qedit function. Is there a code library out there that provides this functionality that might be easier/more flexible? I want to design with the future in mind and hope eventually to become one of the volunteer developers with Pligg...So I want to take into consideration possible alternatives to the current built-in functionality. Any recommendations would be appreciated. Thanks.
David.
raveendran
Forum Newbie
Posts: 3
Joined: Tue May 06, 2008 5:23 am

Re: PHP AJAX Text Editing.

Post by raveendran »

hai davidshq,

Pls download the AJAx scripts from the following link,

http://script.aculo.us/
davidshq
Forum Newbie
Posts: 12
Joined: Mon May 05, 2008 10:47 pm
Location: Pennsylvania

Re: PHP AJAX Text Editing.

Post by davidshq »

Thanks. I'll take a look. Any other recommendations?
David.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: PHP AJAX Text Editing.

Post by pickle »

If you're looking for javascript libraries, jQuery & mootools are two notable entrants. I personally use jQuery.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply