have a serch engine advanced

Discussion in 'Yellow Pages Script / Local Directory Script' started by pat59fr, Dec 1, 2012.

  1. pat59fr

    pat59fr New Member

    Hello ,
    is it possible to have a serch engine advanced ?

    with a drop-down menu and several options.
    eg search by categories, telephone, mail, business etc ....


    this is my exemple, but it's not works ...

    Code (Text):
    <form action="{$packages.yellowpages.url}search/" method="get" class="form-inline yellowpages-search-location">
                <span>Qui / Quoi</span>
                <input type="text" name="search" id="search_key" value="{if isset($smarty.get.search)}{$smarty.get.search}{elseif isset($smarty.session.ypage_search)}{$smarty.session.ypage_search}{/if}">
                <span>O&ugrave;</span>
                <input type="text" name="loc" id="search_loc" autocomplete="off" value="{if isset($smarty.get.loc)}{$smarty.get.loc|escape:'html'}{else}{location get='title'}{location get='parent' before=", "}{/if}">
               
                <br><br>
                <span>Activite</span>&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="text" name="cat" id="search_cat" autocomplete="off" value="{if isset($smarty.get.loc)}{$smarty.get.loc|escape:'html'}{else}{location get='title'}{location get='parent' before=", "}{/if}">
                <span>Tel / Fax</span>
                <input type="text" name="loc" id="search_loc" autocomplete="off" value="{if isset($smarty.get.loc)}{$smarty.get.loc|escape:'html'}{else}{location get='title'}{location get='parent' before=", "}{/if}">
                <span><button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i> {lang key='search'} </button></span>
            </form>

    Thanks you a lot of
  2. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hello pat59fr,
    Welcome to our support forums!

    If you have any knowledge in php/html you can modify the block and packages/yellowpages/includes/search.inc.php

    Otherwise please create a ticket at our helpdesk with the modification request, our custom modifications department will quote it.

Share This Page