Hello,
You can use the browsing page: http://localhost/demo/browse_homes_by_state/Florida/
if for some reason using browsing is not an option for you, there is a workaround. It is a bit lame, but should work in iRealty 4.7.0:
1. Go to
templates/<your theme>/main folder.
2. Copy the
index.tpl to (for example)
florida.tpl 3. Open the
florida.tpl for editing and replace the
{$MAIN_CONTENT}
with the following:
{module name="classifieds" function="search_results" action="search" QUERY_STRING="State[equal]=Florida"}
4. Now go to the admin panel add a new page with the following parameters:
URI --- any path to the page relative ot the site root with leading "/". For example put "/florida.html" there
Pass parameters via URI --- leave unchecked
Title --- anything you like, it will appear in the browser's top of the window
Template --- put your new template name here, in our case it is "florida.tpl"
Module --- can be anything, use "static_content" as a safer choice
Function --- can be anything, use "show_static_content" as a safer choice
Parameters:
pageid = --- can be anything, use "123" or "asdf"
Keywords --- anything you like here
After the page is created go the the "http://your site.com/florida.html"
it should display all properties found in the Florida (as specified in QUERY_STRING parameter).
You can edit the
florida.tpl to adjust the look of the page.
If you would like to change the way the search results are presented on this page please specify additional parameter "
results_template" to the "
{module..." like this:
{module name="classifieds" function="search_results" action="search" QUERY_STRING="State[equal]=Florida" results_template="florida_listings.tpl"}
You will have to create "florida_listings.tpl" by cloning the "search_results.tpl" in the
template/<your theme>/classifieds folder.
Regards,
Max Kosyakov