Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fatal error: Call to undefined function: form_textfield() in /home2/kiev1or/public_html/drupal/modules/fckeditor/fckeditor.module on line 70
(module legacy is enable)
(Last week all worked, and now something in Drupal-cvs have spoiled)
Comment | File | Size | Author |
---|---|---|---|
#2 | fckeditor_setting.module | 1.86 KB | Ed Geraghty |
Comments
Comment #1
webchickThis module needs to be updated to the new Forms API for Drupal 4.7.
See http://drupal.org/node/33338 for more info.
Comment #2
Ed Geraghty CreditAttribution: Ed Geraghty commentedI'm sort of a newbie but I started to convert the FCKeditor to the forms API.. I still need to figure out why the textfield is not calling the fckeditor editor. With the following patch you will get the Administration -> settings -> fckeditor menus.
Comment #3
kiev1.org CreditAttribution: kiev1.org commentedThanks. I have already made it, but it all the same does not work, - not work hook Implementation of textarea function fckeditor_textarea ($op, $name)
Comment #4
kiev1.org CreditAttribution: kiev1.org commentedReally there is no idea? Help to repair please FCKeditor under Drupal 4.7
Comment #5
kiev1.org CreditAttribution: kiev1.org commentedThat again normally worked WIZIWIG EDITORs it is necessary to return in a file form.inc this code
Comment #6
Vidarls CreditAttribution: Vidarls commentedI've updated the module to work with 4.7 (in my ingorance I didn't see this issue, so I started a new one here: http://drupal.org/node/41288 )
I used hook_elements insead of the obsolete hook_textarea. But as it is now the reworked module only replace textareas with the id edit-body, (the default body textarea for all nodes) this may or may not be a good thing, ideally one should be able to turn it on and off on a per textarea basis, and store a default setting for each textaera (something for the TODO list maybe :P )
I've tested my reworked module, and it works for me running 4.7 beta1 and FCKeditor 2.1.1
-Olegu
Comment #7
paddy_deburca CreditAttribution: paddy_deburca commentedHi,
I just installed your module on a 4.7.2 installation and all is well. I tried to make the module work myself - but with all the API changes since 4.6, using yours was a lot easier.
My only comment, though. My log shows errors with array handling on lines 231 and 234. I put a couple of tests around the effected lines and no more error messages in the log.
I can submit a patch it you wish.
Thanks,
Paddy.
Comment #8
paddy_deburca CreditAttribution: paddy_deburca commentedSorry!
This should have been posted in http://drupal.org/node/41288
Paddy.
Comment #9
thierry_gd CreditAttribution: thierry_gd commented