Sorry for my bad english...
I'm using CKEditor but i want a easy method for edit the toolbar like a CKEditor module. So I found a PHP Code for drag and drop buttons here:
http://drupal.org/node/829266#comment-3728188
Where do I enter this code?, In a View?, A page with PHP Filter?, Edit this module?...
Thanks...
Comments
Comment #1
twodComment #52 explains where to put it: #829266-52: Fixing toolbar for the CKeditor / Using the settings hook.
The function name
ckeditor_custom_wysiwyg_editor_settings_alter(&$settings, $context)assumes you've replaced MYMODULE in that instruction with "ckeditor_custom". (It's common for custom site-specific modules to be named just "custom" so I'd have named the filescustom.info,custom.moduleand the functioncustom_wysiwyg_editor_settings_alter(&$settings, $context)).The .info file tells Drupal there's a module, and the .module file holds the main code, which in this case is an implementation of Wysiwyg's
hook_wysiwyg_editor_settings_alter()(see wysiwyg.api.php for a description).Comment #2
Dalejray commentedHmm. thanks.
This custom module is for Drupal 6 or 7?.
Comment #3
twodIt works for both, just change the
core = 6.xorcore = 7.xline in the .info file to match the Drupal version you're using or it won't be possible to enable the module. Wysiwyg's API is currently the same for both D6 and D7.Comment #4
Dalejray commentedThanks... i will test this custom module