Hi i find the solution ,
i coded into my examplemodule*.module* file,
i guess am correct ,
Then next step , i want to store that textfield values into my database ,
For that i thing i have to written small snippet into the install file or tell me what i do,
simple my point is i want store the textfield values into my DB
On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi
i want to alter the birthday module form ,
like want to add one text area,So can u tell me , where i write the alter form code,
in the birthday.module file ,
Or where i write the form alter code
thanks
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
It would be a lot easier to add the field permanently to the content type, instead of adding it via form_alter.
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
Hi i find the solution ,
i coded into my examplemodule*.module* file,
i guess am correct ,
Then next step , i want to store that textfield values into my database ,
For that i thing i have to written small snippet into the install file or tell me what i do,
simple my point is i want store the textfield values into my DB
On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi
i want to alter the birthday module form ,
like want to add one text area,So can u tell me , where i write the alter form code,
in the birthday.module file ,
Or where i write the form alter code
thanks
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
I thing u r referring the module ,,,
Ya i saw that , but form_alter module still DEV,
but i wan to learn , "modifying the forms using the code snippet "
Thanks
On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane victorkane@gmail.com wrote:
It would be a lot easier to add the field permanently to the content type, instead of adding it via form_alter.
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
Hi i find the solution ,
i coded into my examplemodule*.module* file,
i guess am correct ,
Then next step , i want to store that textfield values into my database ,
For that i thing i have to written small snippet into the install file or tell me what i do,
simple my point is i want store the textfield values into my DB
On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi
i want to alter the birthday module form ,
like want to add one text area,So can u tell me , where i write the alter form code,
in the birthday.module file ,
Or where i write the form alter code
thanks
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
If you want to persist the field you add via form_alter, you must create a table in the database and add a custom SQL statement to save the data, perhaps via hook_nodeapi with op 'submit'.
See http://api.drupal.org/api/function/hook_nodeapi/5
Victor
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
I thing u r referring the module ,,,
Ya i saw that , but form_alter module still DEV,
but i wan to learn , "modifying the forms using the code snippet "
Thanks
On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane victorkane@gmail.com wrote:
It would be a lot easier to add the field permanently to the content type, instead of adding it via form_alter.
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
Hi i find the solution ,
i coded into my examplemodule*.module* file,
i guess am correct ,
Then next step , i want to store that textfield values into my database ,
For that i thing i have to written small snippet into the install file or tell me what i do,
simple my point is i want store the textfield values into my DB
On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi
i want to alter the birthday module form ,
like want to add one text area,So can u tell me , where i write the alter form code,
in the birthday.module file ,
Or where i write the form alter code
thanks
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi victor ,,
Then we have to write the alter_form in the function .module file only know, am correct or not
for example i want to put the firstname and lastname in the default registeration page (ie . user.module )
then i have to write the code in the user.module only know ...
thanks
On Tue, Dec 16, 2008 at 3:06 PM, Victor Kane victorkane@gmail.com wrote:
If you want to persist the field you add via form_alter, you must create a table in the database and add a custom SQL statement to save the data, perhaps via hook_nodeapi with op 'submit'.
See http://api.drupal.org/api/function/hook_nodeapi/5
Victor
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
I thing u r referring the module ,,,
Ya i saw that , but form_alter module still DEV,
but i wan to learn , "modifying the forms using the code snippet "
Thanks
On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane victorkane@gmail.comwrote:
It would be a lot easier to add the field permanently to the content type, instead of adding it via form_alter.
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
Hi i find the solution ,
i coded into my examplemodule*.module* file,
i guess am correct ,
Then next step , i want to store that textfield values into my database ,
For that i thing i have to written small snippet into the install file or tell me what i do,
simple my point is i want store the textfield values into my DB
On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi
i want to alter the birthday module form ,
like want to add one text area,So can u tell me , where i write the alter form code,
in the birthday.module file ,
Or where i write the form alter code
thanks
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
For that purpose, you would be better off using the profile module, which will allow you to add fields, and which will also allow you to include those fields in the user registration form.
Look, Ma, no PHP!
Victor Kane http://awebfactory.com.ar
On Tue, Dec 16, 2008 at 9:45 AM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi victor ,,
Then we have to write the alter_form in the function .module file only know, am correct or not
for example i want to put the firstname and lastname in the default registeration page (ie . user.module )
then i have to write the code in the user.module only know ...
thanks
On Tue, Dec 16, 2008 at 3:06 PM, Victor Kane victorkane@gmail.com wrote:
If you want to persist the field you add via form_alter, you must create a table in the database and add a custom SQL statement to save the data, perhaps via hook_nodeapi with op 'submit'.
See http://api.drupal.org/api/function/hook_nodeapi/5
Victor
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
I thing u r referring the module ,,,
Ya i saw that , but form_alter module still DEV,
but i wan to learn , "modifying the forms using the code snippet "
Thanks
On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane victorkane@gmail.comwrote:
It would be a lot easier to add the field permanently to the content type, instead of adding it via form_alter.
2008/12/16 bharani kumar bharanikumariyerphp@gmail.com
Hi i find the solution ,
i coded into my examplemodule*.module* file,
i guess am correct ,
Then next step , i want to store that textfield values into my database ,
For that i thing i have to written small snippet into the install file or tell me what i do,
simple my point is i want store the textfield values into my DB
On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi
i want to alter the birthday module form ,
like want to add one text area,So can u tell me , where i write the alter form code,
in the birthday.module file ,
Or where i write the form alter code
thanks
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- உங்கள் நண்பன் பரணி குமார்
Regards B.S.Bharanikumar
POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/
-- [ Drupal support list | http://lists.drupal.org/ ]