 |

ThreeTree
User
Apr 21, 2008, 5:24 AM
Post #1 of 8
(1350 views)
Shortcut
|
|
Additional Listing Templates
|
Can't Post
|
|
I need to create additional listing templates (rental, land, commercial), will all be represented in the search query? Will all appear in agents properties search? Any issues for additional templates or instructions on how to implement?
|
|
|  |
 |

MikeB
Staff
/ Moderator

Apr 21, 2008, 10:49 AM
Post #2 of 8
(1345 views)
Shortcut
|
|
Re: [ThreeTree] Additional Listing Templates
[In reply to]
|
Can't Post
|
|
Hi, Thanks for the post! To have Listings Manager's content display on different templates, there are just a few steps you'll want to go through. I'll provide you with an example for the Land listings and you can do the same thing for any other sections you have. 1. First you'll want to make a copy of _publish_listing.html and call this file _publish_listing_land.html. In this template you'll just want to tweak the fields to the appropriate details are being output for Land listings. 2. You'll want to make another new template called _search_results_land.html. This can basically be the same as your regular search results but with a few minor changes. First, you can change the fields that will be output on this page so they apply to your Land listings. Next, rather than using the default value to link to a listing (<a href="$listing_url$/$listing_file$">) You'll actually want to modify anytime you see that link in this new file and replace it with this: <a href="http://www.yoursite.com/cgi-bin/listman/exec/search.cgi?view=$listing_num$&template=_publish_listing_land.html"> This way, when someone is looking at a page of Land listings, the link for the full details of the listing will be displayed on the appropriate template (which you created in step 1). 3. While there are a few ways to separate your listings on the site, the easiest would be to link directly to a page of Land listings. The URL would look like this: http://www.yoursite.com/cgi-bin/listman/exec/search.cgi?search=1&template=_search_results_land.html&lfieldX_keyword=Land In this case, you're telling the search to use your "Land" template and "lfieldX" will be the field you're using in the admin program to differentiate between different types of listings. To have the different listings show up and link to the proper template from your regular search results and your agent pages there'll be just another couple of quick tweaks but what I've outlined here should be a good start. I hope this helps and if you have any questions about setting this up, just let me know! 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.
|
|
|  |
 |

ThreeTree
User
Apr 21, 2008, 1:28 PM
Post #3 of 8
(1339 views)
Shortcut
|
|
Re: [MikeB] Additional Listing Templates
[In reply to]
|
Can't Post
|
|
Thank you for the precise info! I'll work on the additional templates and follow up if I have questions.
|
|
|  |
 |

technett
New User
Apr 30, 2008, 1:35 PM
Post #4 of 8
(1271 views)
Shortcut
|
|
Re: [MikeB] Additional Listing Templates
[In reply to]
|
Can't Post
|
|
Hi there, I followed these steps and when I click on the Land section, I get the following message: Invalid template name: _search_results_land.html Here is the link I am trying to use: http://www.shawcountryrealty.net/cgi-bin/listman/exec/search.cgi?search=1&template=_search_results_land.html&lfield8_keyword=Land Homepage: http://www.shawcountryrealty.net Land page: http://www.shawcountryrealty.net/land.html The other pages work. Thanks, Nett
|
|
|  |
 |

technett
New User
Apr 30, 2008, 2:03 PM
Post #5 of 8
(1270 views)
Shortcut
|
|
Re: [technett] Additional Listing Templates
[In reply to]
|
Can't Post
|
|
Silly me! I put the contents of my template/_realty folder also into the cgi-bin section and it worked.... how amazing that if the files are there, they are read! :) Nett
|
|
|  |
 |

Jake
Staff
/ Moderator

Apr 30, 2008, 6:32 PM
Post #6 of 8
(1262 views)
Shortcut
|
|
Re: [technett] Additional Listing Templates
[In reply to]
|
Can't Post
|
|
Hi Nett, Thanks for the update - I'm glad to hear you got this working. Feel free to contact us if you need anything else! ----------------------------------------------------------- Cheers, Jake Swanson - 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.
|
|
|  |
 |

Wolf-E
User
Jul 15, 2008, 9:37 AM
Post #7 of 8
(667 views)
Shortcut
|
|
Re: [Jake] Additional Listing Templates
[In reply to]
|
Can't Post
|
|
Hi I read the above 'tweak' with interest as it pertains to something a client asked us to do today. Our client breeds horses and required a 'Sold' page to feature the bloodstock sold recently (and also to act as a kind of 'proof' of Sire/Dam etc). Now, if i've read the above correctly, is this right? we make a page: _publish_listing_sold.html. and a second: _search_results_sold.html. and that will do it. Alternatively, can we just use: http://www.yoursite.com/cgi-bin/listman/exec/search.cgi?search=1&template=_search_results_sold.html&lfieldX_keyword=Sold and that will do the same job? The only problem I can see is that the sold horses would still show up in the 'search everything' facility, or could we tweak it to not show 'sold' horses in the main search., only in the 'sold' search. Any suggestions? Cheers.
(This post was edited by Wolf-E on Jul 15, 2008, 12:15 PM)
|
|
|  |
 |

Donna
Staff
/ Moderator

Jul 15, 2008, 2:45 PM
Post #8 of 8
(639 views)
Shortcut
|
|
Re: [Wolf-E] Additional Listing Templates
[In reply to]
|
Can't Post
|
|
Hi there, Yep, that would definitely work. :) To have "Sold" listings not appear in your regular search, you could add the following to your search query page: <input type="hidden" name="lfieldX_keyword" value="Available"> ...and set is so that the field for "Sold" defaults to "Available". So, the field would be setup like this: Status (Available,Sold) This way, only listings that were set to "Available" would appear on your regular searches. Would that work for you? Donna
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.
|
|
|  |
|