online editer

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
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

online editer

Post by m2babaey »

Hi
How can I make an online editer for article submission
like this one:
http://takfekr.com/demo.htm
Jello
Forum Newbie
Posts: 16
Joined: Mon Jul 16, 2007 1:53 pm

Post by Jello »

you can use something like

http://www.fckeditor.net
User avatar
Gente
Forum Contributor
Posts: 252
Joined: Wed Jun 13, 2007 9:43 am
Location: Ukraine, Kharkov
Contact:

Post by Gente »

Or TinyMCE.
User avatar
Chalks
Forum Contributor
Posts: 447
Joined: Thu Jul 12, 2007 7:55 am
Location: Indiana

Post by Chalks »

If you want an editor with buttons like the link you posted, you will need to learn AJAX. This is basically xhtml, css, and javascript.

If you're comfortable with just using forms, all you'll really need to know is php, mysql, and xhtml.

I recently built my own site editor just so that I could have the experience doing so. I went with the latter route, and it took me about 2 days to build something that was easy to use, understand, and upkeep...and I'm brand new to php (If you'd like to see a sample, shoot me a pm).
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

FCKEditor is a right nightmare for sorting out paths to images if you install it on a different directory level to the pages displaying what you edit. It's only GPL for personal use, integrating it into a closed source site costs $375 (or $850 for a company wide license for lots of sites).

TinyMCE doesn't come with any serverside code, so handling images in an integrated way is a real pain. The code is LGPL which is ace, but the image and file upload modules that they include in their demos are commercial (and cost quite a lot actually).

SPAW2 ( http://www.spaweditor.com/ ) seems to be the best of the HTML editors I've checked out lately if you want something fast and (relatively) painless to integrate. Plus it's entirely GPL which is handy.
ziggy3000
Forum Contributor
Posts: 205
Joined: Fri Mar 23, 2007 3:04 pm

Post by ziggy3000 »

really simple. go here
Post Reply