PDA

View Full Version : Searching all sections


Nick
28-Nov-2003, 07:48 AM
Hi all

In Business it is possible to allow a user to search by section. When enabled, there is a drop down box next to the search box that allows the user to select the section to search (on search.html)

The default for this selection box is blank but stipulates that all sections are searched.

Does anyone know how to change the drop down so that rather than being blank, the default can have relevant words such as "All Sections"?

Thanks

Nick

Ben
28-Nov-2003, 10:50 AM
Hi Nick

The section dropdown on the search page is generated from NQV:SECTIONCONTROL in Act_SearchTemplate.html, but unfortunately it is created by the application and so cannot be customised before the generation of the html.

Ben

zmagyar
28-Nov-2003, 09:56 PM
Ben, you are right the section control is created by the application but it uses checkout prompts for that so the final layout can be controlled. Actually the prompt 2286 is used for this bit. So if you go to the Design Text and look up this prompt you will find the default value<OPTION VALUE="0">If you change it to something like<OPTION VALUE="0">All Sections and upload then most likely it will work as expected.

I hope this helps,