The WorksForWeb Community Forums
Welcome to the WorksForWeb community forums. Here you can discuss WorksForWeb products with others and contribute to the rapidly growing WorksForWeb community. Please note that while WorksForWeb staff try to maintain presence on the forums, this is not the most reliable way to contact WorksForWeb staff. In case you require a timely response from WorksForWeb on an issue, please open a support ticket here. For pre-sales questions, please open a sales ticket here.

Welcome, Guest. Please login or register.
May 22, 2012, 05:40:28 PM

Login with username, password and session length
Search:     Advanced search
Added the iLister-related Boards

Rate My Site Boards Added

Merged iAuto and iRealty Support Forums together

Several new tips in the Tips and Tricks section
1,604 Posts in 625 Topics by 1,179 Members
Latest Member: bobsteam
* Home Help Search Login Register
+  The iAuto/iRealty/iLister Support Forum
|-+  iAuto, iRealty and iLister v.4.x
| |-+  General iRealty Discussions
| | |-+  How Do You display Specific Results for a new page
« previous next »
Pages: [1] Print
Author Topic: How Do You display Specific Results for a new page  (Read 1241 times)
djr33324
Newbie
*

Karma: 0
Posts: 2


View Profile WWW
« on: February 04, 2009, 01:12:45 PM »

How Do You display Specific Results for a new page??

How can you display Only Specific Listings on a new TPL Template like if I was to add a new page called " Florida.tpl "  and I only wanted to display listings and feature Listings only for Florida on this page.Huh?


Thanks
Logged

David J Rogers II
iron
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 90


iAuto\iRealty\iLister support


View Profile
« Reply #1 on: April 14, 2009, 03:52:07 PM »

This can be done as the customization for additional cost. You can submit a ticket to custom@worksforweb.com for further quoting if you would like.
Logged

kosyakov
Newbie
*

Karma: 2
Posts: 17


View Profile
« Reply #2 on: August 11, 2009, 11:12:47 PM »

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
Code:
{$MAIN_CONTENT}
with the following:
Code:
{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:

Code:
{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


Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Classified Software by Worksforweb Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!