Posted by pflame on March 17, 2009 at 11:57am
Hi,
I enabled ajax, ajax_ui module. And went to admin/settings/ajax page and selected content type: page and saved. I submitted add page form without entering title, then the page is submitted and then showing Title field is required. Actually the page should not submit right? I am unable to figure out where is the problem. Can you please guide me. I am using drupal 6.9 with postgresql 8.2.7
Comments
The problem is because of the weights of ajax and ajax_ui module
When I try to install these modules first I got errors. I reported bug for this http://drupal.org/node/404650 . I got the errors but the ajax module record is there in the system table. Because of the bug weight is not updated for that module. So the module weight is 0. Because of this ajax_ui form_alter is executing after ajax form_alter.
I did not understand why update query did not execute when I disable and enable the module again. I did it for lot of times.
I removed ajax entry in system table and enabled ajax module then the update query executed and now ajax form is working.
I think it is better to put update query in hook_enable or use hook_uninstall and delete entry from system table.
Hi Prajwala, Thanks for your
Hi Prajwala,
Thanks for your feedback. This bug has been fixed.
Ajax Module not recognizing Custom Form
I created a custom form (non content form) used for alerts. I have tried to activate the form through the plug-in using hook_form_alter as described in the accompanying module instructions. Any ideas? Thanks