Skip to main content
10 events
when toggle format what by license comment
Dec 15, 2013 at 7:16 comment added Mudasir Gregory Kapustin Thanks a lot it worked, actually I was missing to add "Implements hook_form_alter()." at the top of the module file. I used the devel module to find the things like the form_id, field_outlets_deal and field_store, and it finally worked.... I really appreciate you.
Dec 4, 2013 at 16:12 comment added Mudasir I enabled my custom module, but I could not find kind of effect on outlets section when I am selecting any store in dropdown.All the outlets remains unchecked. Something is missing?
Dec 4, 2013 at 16:03 comment added Gregory Kapustin Just enable your custom module, it should work fine.
Dec 3, 2013 at 13:39 vote accept Mudasir
Dec 3, 2013 at 12:51 comment added Mudasir I replaced the following lines------ 1.page_node_form,( with deal-node-form)------- 2.field_OUTLETS ( As my outlets fields machine name is "field_outlets_deal"),----- 3.'field_store'(This is the reference field of store),----- Now what I have to do.
Dec 3, 2013 at 12:28 comment added Mudasir I added a custom module named custom_module. In custom_module.module file I pasted the above code.
Dec 3, 2013 at 12:19 comment added Gregory Kapustin Yes you do ; create a custom module and just put this code in your .module file. To know how to replace field_OUTLETS, field_STOREFEREFERENCE and so on, ask another question or add the line dpm($form); at the beginning of your hook_form_alter function.
Dec 3, 2013 at 11:44 comment added Mudasir Thanks a lot, please let me know do I need to create a custom module for this.
S Dec 3, 2013 at 11:37 history answered Gregory Kapustin CC BY-SA 3.0
S Dec 3, 2013 at 11:37 history made wiki Post Made Community Wiki by Gregory Kapustin