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