PDA

View Full Version : Code for Number of Search Results?



Jrags87
01-07-2011, 02:13 AM
I would like insert the number of search results before the search heading. Is there a way I can do this? In the below code snippet I would like to add the search results number before STR_Results_For

OutBuf(OUTPUT_HEADING) = OutBuf(OUTPUT_HEADING) & "<div class=""searchheading"">" & STR_RESULTS_FOR & " " & queryForHTML

Ray
01-07-2011, 02:38 AM
You do not need to modify the source code to change the order of elements on the results page.

Please see chapter 6.7 "Advanced template options" in the Users Guide (http://www.wrensoft.com/zoom/usersguide.html).

You can specify individual template tags for each element that make up the search results instead of using the default <!--ZOOMSEARCH--> tag on your template page.