 | |  |
 |

MikeB
Staff
/ Moderator

Aug 17, 2005, 11:20 AM
Post #1 of 1
(3504 views)
Shortcut
|
Tutorial: Listings on an agent's homepage
|
|
|
Hi everyone! In Listings Manager, each agent has their own homepage that lists some details about them. I've come up with some steps you can follow to actually show a few of an agent's listings right on their agent homepage along with the rest of their details. I'll outline these steps for you below: 1. First you'll want to make a copy of /templates/_[industry]/_search_results.html and call it something like _agent_results.html. You'll want to remove all of the HTML in this file that isn't being used to output your listings (you can remove, headers, footers, etc). The only HTML that you'll want to leave will be the templatecells and the code within them. You can re-upload this into your /templates/_[industry]/ folder. 2. This process is going to involve using a Server Side Include (SSI) so you'll actually want to have Listings Manager publish .shtml files. To do this you can change the "Publish File Extension" under the General tab of Listings Manager's Setup Options from html to shtml. 3. Next, you'll want to open up /templates/_[industry]/_publish_homepage.html and add something like this: <!--#include virtual="/path/to/search.cgi?user_num=$user_num$&search=1&perpage=5&template=_agent_results.html"--> This is the SSI that will pull in the 5 latest listings that were added by this agent. 4. You can re-upload this template to the server, log in to Listings Manager's admin program and click the four "Publish" buttons. Now when someone views your site and clicks on an agent's homepage they'll be able to see a list of that agent's 5 most recent listings. I hope you find this helpful and I hope you're able to put it to use on your website! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
(This post was edited by MikeB on Aug 17, 2005, 1:49 PM)
|
|
|  |
 | |  |
|