Using Flash to *edit* a CCK text field

amwiz - September 18, 2009 - 22:09

Hi all,

I have a simple CCK text field that is supposed to contain a piece of json code as its value. Example -

[{"start": 7101, "end": 15051},
{"start": 10096, "end": 20143},
{"start": 20143, "end": 26709},
{"start": 28076, "end": 32202}]

Of course the end users can edit the text directly, but to help them edit,
I have created a swf (flash) based point-and-click editor to define these start-end ranges.

I can't figure out how to make the flash control show up instead of/along with the text field when I am *editing* the node. Help!

Would this be similar to how a rich text editor like FCKEditor can show up when editing body field? If so, any pointers for how to set that up?

Thanks in advance,
Amol.

Made some progress..

amwiz - September 19, 2009 - 01:05

Found the WYSIWYG module that allows third party editors to enhance/replace textareas.

The module supports a few specific editors out of the box. I am now duplicating the markItUp editor's config to setup my own flash based editor. Will update this thread if that works.

Hey ya amiz, any luck with

robl@wearevi.com - November 6, 2009 - 17:42

Hey ya amiz,
any luck with this? I got a similar problem where I need to have a flash map embbed in the cck and control a custom field.

http://drupal.org/node/625482

 
 

Drupal is a registered trademark of Dries Buytaert.