you might want to check out the jquery fck editor plugin. i use this
in conjunction with jquery to turn my text area inputs into a wysiwyg
editor and it saves html to the database. (make sure you sanitize
first).

so if you were to go this route you first need to get jquery working
in its most basic form on your site, than get the fck editor plugin
for jquery, then install fck to your vendors folder.

explaining in detail would be a bit lengthy but i hope it gives you
some ideas.

On May 20, 3:10 am, Kyle Decot <[email protected]> wrote:
> I am building a forum and I want to make it so that if someone enters
> some text w/ a link to an image in it, my script will take out the
> link and replace it w/ the image. Anyone know how I would do this? I
> would also like to do the same thing w/ youtube and vimeo links in the
> future. Thanks for any insight or help you can provide.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to