PDA

View Full Version : Using the WYSIWYG Editor in another part of my site


dvdinfoman
11-16-2004, 01:53 PM
I was not sure if this was the correct spot to put my question but is what I want to do is put the WYSIWYG editor in another section of my site and input the results into a separate table in my database, but I have no idea where to start could someone please tell me if this is even possible and how easy it would be, or not be.

THanks

Fargo
11-16-2004, 03:05 PM
wow, the irony...I was just looking for this as well. Im pretty new to php and vb, but Ill be sure to fill you in if Im successful. I think we can figure it out by doing some heavy research of newthread.php, newreply.php or profile.php (signature editor).

dvdinfoman
11-16-2004, 03:10 PM
Well, in doing some Google searching I have found something that does look like it can be tweaked to be extremely similar here: http://kevinroth.com/rte/demo.htm

MPDev
11-16-2004, 03:45 PM
I've just added the WYSIWYG editor into PhotoPost for use during addition of new photo comments (also used Enhanced mode for quick replies) - it's not overly difficult if you use the vB headers throughout your site - just look at the composition pages and see what javascript calls/configurations are needed.

If you don't use vB3's headers, then you'd have to do a bit of work to duplicate them since the controls use vB3 styles and such.

Either way, the result is that the contents of the edits are stored in a variable ($message, I think) which can be used by your application to save the result.

Fargo
11-16-2004, 03:47 PM
thanks a bunch, MPDev! Will check things out :)

dvdinfoman
11-16-2004, 05:30 PM
I've just added the WYSIWYG editor into PhotoPost for use during addition of new photo comments (also used Enhanced mode for quick replies) - it's not overly difficult if you use the vB headers throughout your site - just look at the composition pages and see what javascript calls/configurations are needed.

If you don't use vB3's headers, then you'd have to do a bit of work to duplicate them since the controls use vB3 styles and such.

Either way, the result is that the contents of the edits are stored in a variable ($message, I think) which can be used by your application to save the result.
I know I am going to sound ignorant here but what is "PhotoPost"?

MPDev
11-16-2004, 05:42 PM
PhotoPost is a community photo gallery that integrates with vB:

http://www.photopost.com

you can see it running on http://www.photopostdev.com