Timezone: America/New York
ABSTRACT: A quick tutorial on modifying FCK to create a ShadowBox link. I posted it on the Drupal site & then I figured FCK is a little more flexible. You guys can use these same steps to duplicate this in Joomla, WordPress, or whatever cms you have running both FCK_Edit & ShadowBox. In about 5 seconds you can probably modify this for LightBox, too. [view working demo @ http://munnlodge.org/cms/FCK_ShadowBox]. When you use it let me know. I'd love to see how useful this post could be...
In Drupal6 with both the shadowbox module and the fckedit module, there was still no clean way of getting a layman to invoke a ShadowBox link. Even I (a long-haired overfaired leaping gnome) was sick of editing the source code to add rel="ShadowBox" to the anchor tag manually. It only took a few minutes, but that was a few minutes too many. I figured it kinda' defeats the purpose of having a modular CMS with a WYSIWIG editor... I mean: if some things could "play nicely" together, this could really enhance the user's experience - especially when that user was me!
I took a look at the underlying code. The FCK guys really made an elegant modular framework. In our case, there are only two files that are effected:
- /modules/fckeditor/fckeditor/editor/dialog/fck_link/fck_link.js
/modules/fckeditor/fckeditor/editor/dialog/fck_link/fck_link.html
Re: FCK ShadowBox Wizard
the internal file structure seems totally different