Customize Quick Search on home page

I am trying to set up an alumni association community.

I was able to customize the simple search, quick search, and advanced search in the Member Search pages, by using the Admin tools. But I looked high and low for the place to modify the Quick Search Module on the home page.

No luck so far.

I have already defined the "Graduating Class" and "Name of School" in the "Prefefined List/Values" tool. I would like it to have the quick search show:

I am a former [name of school]

Looking for graduating class [year]

Gender [sex]

I have Dolphin 6.1.3

Any help is much appreciated.

Quote · 13 Aug 2008

Did you ever figure this out?  I am also working on an Alumni site and have it working pretty well so far.  But would like to modify the search.

Quote · 15 Aug 2008

I haven't solved it in the original sense of my question, but I did a work around that seems to work OK so far. I haven't got a lot of records to search from at this time to validate the effectiveness of this workaround.

- I went in the page builder and I created a new "HTML block" control and named it "Classmates Search".

- I edit it in HTML code mode, and inserted the code below to create a new search module.

- The various input selectors such as "LookingFor[]" "Promotion[]" "FullName" were created in the Builders>Fields Builder tool.

- The values for the input selectors "LookingFor[]" "Promotion[]" were defined in the Settings>Predefined Lists.

- I snagged the display code from the existing Quick Search module using Firebug and modified it to match my need.

---------------------------------------------------------------------------------------------------------------

<div class="boxContent">
<div class="qsi_wrapper"><form method="get" action="search.php">
<div class="qsi_line">
<div class="qsi_first">School attended<br /></div>
<div class="qsi_second"><select name="LookingFor[]"> <option value="JJRousseau">JJRousseau</option> <option value="LeQuiDon">LeQuiDon</option> <option value="StExupery">StExupery</option> <option value="MarieCurie">MarieCurie</option> </select></div>
</div>
<div class="qsi_line">
<div class="qsi_first">Graduating class</div>
<div class="qsi_second"><select name="Promotion[]"> <option value="1960">1960</option> <option value="1961">1961</option> <option value="1962">1962</option> <option value="1963">1963</option> <option value="1964">1964</option> <option value="1965">1965</option> <option value="1966">1966</option> <option value="1967">1967</option> <option value="1968">1968</option> <option value="1969">1969</option> <option value="1970">1970</option> <option value="1971">1971</option> <option value="1972">1972</option> <option value="1973">1973</option> <option value="1974">1974</option> <option value="1975">1975</option> <option value="1976">1976</option> <option value="1977">1977</option> <option value="1978">1978</option> <option value="1979">1979</option> <option value="1980">1980</option> </select></div>
</div>
<div class="qsi_line">
<div class="qsi_first">Gender</div>
<div class="qsi_second"><select name="Sex[]"> <option value="male">Male</option> <option selected="selected" value="female">Female</option> </select></div>
</div>
<div class="qsi_line">
<div class="qsi_first">Classmate name<br /></div>
<div class="qsi_second"><input class="input_text" name="FullName" type="text" /></div>
</div>
<div style="text-align: center; margin-top: 1px; font-size:9px;" class="qsi_line">Enter name in its original order (e.g. Nguyen Viet Nam)</div>
<div style="text-align: center; margin-top: 1px;" class="qsi_line"><input value="Search" type="submit" /></div>
</form></div>
</div>

Quote · 16 Aug 2008

I saw a somewhat similar question in the Dolphin 6.1 Forum.

-

http://www.boonex.com/unity/forums/#topic/Quick-Search-Modification.htm

-

The solution there seems to propose a more direct way to modify the Quick Search on the home page, by having PHP generate the code I did above on the fly.

It does require a certain level of comfort with PHP and the Dolphin system in general.

I fear to venture there.

It does help though to know there is another way.

In a perfect world, there should be a way to directly modify the Quick Search in the Admin Panel without having to edit HTML, PHP or otherwise.

Quote · 16 Aug 2008
 
 
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.