Nevermind.  WidgEditor does not load if you have an onload function defined in your body tag.

I had <body .  Removed the onload and it worked fine.

Kind of annoying.  I was preloading images with my startup function.

On 8/1/06, John Zimmerman [gmail] <[EMAIL PROTECTED]> wrote:
@Jon Bennett

Can you post a snippet of what you did to get widgEditor working?  I am trying to get it up and running but can't get it to load within cake.

Thanks


On 7/24/06, Jon Bennett <[EMAIL PROTECTED]> wrote:

> > (and this is just my personal preference), I've much preferred TinyMCE
> > to FCK.  It's much lighter-weight, has a more new-school API, and works
> > well with Cake's field-naming conventions.
>
> Thanks for that, I will definitely be checking out TinyMCE.

I've just implementedTheManInBlue's widgEditor, very lightweight,
though it also doesn't work with Cake's naming conventions (nothing in
_POST even, just 'true'), so I have to do:

<textarea name="NewsBody" id="NewsBody" class="TextareaBig
widgEditor"><?php echo
html_entity_decode($html->tagValue('News/body'); ?></textarea>

check out: http://www.themaninblue.com/experiment/widgEditor/

I need to extend it though to handle images better, what I'm, thinking
of doing is having a fixed height, scrollable div with all the
uploaded images as thumbnails in it, which if you click inserts that
image into the textfield, hopefully at the last cursor insertation
point, but at the beginning would be fine also.

I'll try to knock up a snippet at some point if it all works according to plan.

jb


--


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to