Hi dears
How to create the textbox,
I am writing custom block,
So i want one text box, one submit button,
for search operation..
HI you can use formAPI to create a text box (more specifications on api.drupal.org)
your form function will go like this - $form['example_textbox'] = array( '#title' => t('my first textbox'), '#description' => t(), '#type' = 'textbox', ); $form['MySubmit'] = array( '#type' => submit, ); and in corresponding submit function use $form_state['values']['examle_textbox'] to get text string !! On Thu, Jul 17, 2008 at 4:58 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi dears
How to create the textbox,
I am writing custom block,
So i want one text box, one submit button,
for search operation..
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi dear
thanks for response,
where i write the post response operation
and all,
that is like >>>
where i write the query and where i execute the that query and all
thanks regards
On Thu, Jul 17, 2008 at 11:32 PM, sumit kataria pec.sumit@gmail.com wrote:
HI you can use formAPI to create a text box (more specifications on api.drupal.org)
your form function will go like this - $form['example_textbox'] = array( '#title' => t('my first textbox'), '#description' => t(), '#type' = 'textbox', ); $form['MySubmit'] = array( '#type' => submit, ); and in corresponding submit function use $form_state['values']['examle_textbox'] to get text string !! On Thu, Jul 17, 2008 at 4:58 PM, bharani kumar < bharanikumariyerphp@gmail.com> wrote:
Hi dears
How to create the textbox,
I am writing custom block,
So i want one text box, one submit button,
for search operation..
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Warm Regards sumit kataria cell 91-9888546343 www.sumitk.net
-- [ Drupal support list | http://lists.drupal.org/ ]
bharani,
You don't have to call us "dear" or "dears". That is a term of endearment and not necessarily appropriate in this context. Just saying "Hi" or "Hello" is fine.
What kind of search are you doing? Are you using Views to filter on a list of nodes? If so, you may just want to use the Views Filter Block module which will create the necessary block of the exposed filters of a view for you.
Otherwise, you'll need to create a function that will process the form, validate it, and return your desired search results. api.drupal.org and the drupal.org site are both very helpful to this end.
Paul
bharani kumar wrote:
Hi dear
thanks for response,
where i write the post response operation
and all,
that is like >>>
where i write the query and where i execute the that query and all
thanks regards
On Thu, Jul 17, 2008 at 11:32 PM, sumit kataria <pec.sumit@gmail.com mailto:pec.sumit@gmail.com> wrote:
HI you can use formAPI to create a text box (more specifications on api.drupal.org <http://api.drupal.org>) your form function will go like this - $form['example_textbox'] = array( '#title' => t('my first textbox'), '#description' => t(), '#type' = 'textbox', ); $form['MySubmit'] = array( '#type' => submit, ); and in corresponding submit function use $form_state['values']['examle_textbox'] to get text string !! On Thu, Jul 17, 2008 at 4:58 PM, bharani kumar <bharanikumariyerphp@gmail.com <mailto:bharanikumariyerphp@gmail.com>> wrote: Hi dears How to create the textbox, I am writing custom block, So i want one text box, one submit button, for search operation.. -- [ Drupal support list | http://lists.drupal.org/ ] -- Warm Regards sumit kataria cell 91-9888546343 www.sumitk.net <http://www.sumitk.net> -- [ Drupal support list | http://lists.drupal.org/ ]
Hi
am working in web site upgradation,
My database not suport the view,
so there is chance to use the view module
So that,am creating custom search,
that search for only single content type,
Here am writing search code for event block,
so my search only for event article,title display,
Is there any module solve my problem, send that link
thanks
On Fri, Jul 18, 2008 at 10:16 PM, Paul Kim pkim@reachlocal.com wrote:
bharani,
You don't have to call us "dear" or "dears". That is a term of endearment and not necessarily appropriate in this context. Just saying "Hi" or "Hello" is fine.
What kind of search are you doing? Are you using Views to filter on a list of nodes? If so, you may just want to use the Views Filter Block module which will create the necessary block of the exposed filters of a view for you.
Otherwise, you'll need to create a function that will process the form, validate it, and return your desired search results. api.drupal.org and the drupal.org site are both very helpful to this end.
Paul
bharani kumar wrote:
Hi dear
thanks for response,
where i write the post response operation
and all,
that is like >>>
where i write the query and where i execute the that query and all
thanks regards
On Thu, Jul 17, 2008 at 11:32 PM, sumit kataria <pec.sumit@gmail.com mailto:pec.sumit@gmail.com> wrote:
HI you can use formAPI to create a text box (more specifications on api.drupal.org <http://api.drupal.org>) your form function will go like this - $form['example_textbox'] = array( '#title' => t('my first textbox'), '#description' => t(), '#type' = 'textbox', ); $form['MySubmit'] = array( '#type' => submit, ); and in corresponding submit function use $form_state['values']['examle_textbox'] to get text string !! On Thu, Jul 17, 2008 at 4:58 PM, bharani kumar <bharanikumariyerphp@gmail.com <mailto:bharanikumariyerphp@gmail.com>> wrote: Hi dears How to create the textbox, I am writing custom block, So i want one text box, one submit button, for search operation.. -- [ Drupal support list | http://lists.drupal.org/ ] -- Warm Regards sumit kataria cell 91-9888546343 www.sumitk.net <http://www.sumitk.net> -- [ Drupal support list | http://lists.drupal.org/ ]-- [ Drupal support list | http://lists.drupal.org/ ]