results_list.htm

Top  Previous  Next

Purpose of Template:

The results_list.htm template will display the results of any query from the index.php (or other source)

 

Special Notes:

The layout of this template is important. Essentially, it is divided into 3 sections for output. The top, middle and bottom.

The top section (all HTML code above the first mandatory {##} placeholder ) must be kept in this section. Meaning the placeholders for the {header} and all form variables such as {zipsort} should always be included in the top section.

The middle section (only contains one placeholder, which is {results} is used for inserting the format of your locations output. When the scripts finds this placeholder, it will insert the data from the database according to the format you have laid out in your results_list_format.htm template.

The bottom section (all HTML code after the second mandatory {##} placeholder) contains 2 mandatory placeholders, which are (paget} and {pages}. These placeholders are used for printing the Page Totals and Links at the bottom of the template

You may also edit the results_list_format.htm template for more control on how each location gets printed to the screen.