Editing Search

I had an earlier post about editing the search by only searching by birthdates.  I think I have that part figured out now.

What I need now is how to take out the "Search by ID", Search by Nickname" and "Search by Tag" blocks.  I commented out each of them (in search.php), but I still have "__ __search_by_id__ __ etc." where the blocks were.  What do I do to take those out too?

Thanks for any help!

Quote · 17 Jan 2009

Anybody?????

Quote · 18 Jan 2009

Open templates/tmpl_uni/page_4.html

 

and hide this code

 

<div class="by_nick_by_id">

__search_by_id__

__search_by_nick__

__search_by_tag__

</div>

 

Edit to:

<!-- <div class="by_nick_by_id">
           __search_by_id__
    __search_by_nick__
    __search_by_tag__
   </div> -->

 

(you don't need to comment it out in search.php)

Quote · 18 Jan 2009

Thank you so much okweb; it worked!!!

You guys are a great help here!

Quote · 18 Jan 2009

Ok.  I have another question for you.  I was able to edit the simple search for the Members Search;  I needed people to search by birthdates.

I want to edit the quick search on the main page exactly the same.  I went into the Field Builder and did the same as in the Profile Search, but it hasn't changed anything.  I also checked the Page Builder for the homepage but there's the quick search block and you cannot edit there.

Where do I go for this one?

Thanks in advance!

Quote · 18 Jan 2009

You need to edit/add code to

templates/base/scripts/BxBaseIndex.php

 

 

function getBlockCode_QuickSearch

 

(and I think you need to edit/add some code inside search.php also, not 100% sure about it!!!)

 

Have never changed it!

Quote · 18 Jan 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.