Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
Additional Listing Templates

 

 


ThreeTree
User

Apr 21, 2008, 5:24 AM

Post #1 of 13 (8305 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 13 (8287 views)
Shortcut
Re: [ThreeTree] Additional Listing Templates [In reply to] Can't Post

Hi,

Thanks for the post! Smile

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! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


ThreeTree
User

Apr 21, 2008, 1:28 PM

Post #3 of 13 (8281 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 13 (8213 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 13 (8212 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 13 (8204 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 Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


Wolf-E
User

Jul 15, 2008, 9:37 AM

Post #7 of 13 (7609 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 13 (7581 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

--
support@interactivetools.com


humanv3
New User

Jan 8, 2009, 1:39 PM

Post #9 of 13 (6063 views)
Shortcut
Re: [Donna] Additional Listing Templates [In reply to] Can't Post

Hi there, loving the app so far.

Regarding the "Sold" option. I was wondering if it is possible to 'mark' a listing as sold so it uses a separate style to show a sold graphic? Using the -- row_image_new -- , can you have a --row_image_sold-- option per se?

I'd like to combine that with the listing hints above, but I have a braindead question about all of this... how does the program know if it is sold? Do you have to re-do the listing as a sold property or is it a simple field?

Thanks in advance.


Donna
Staff / Moderator


Jan 8, 2009, 2:07 PM

Post #10 of 13 (6061 views)
Shortcut
Re: [humanv3] Additional Listing Templates [In reply to] Can't Post

Hi there,

You wouldn't be able to create a new row -- those are hardcoded into the software. However, you could create a new listing field and add any additional HTML (ie, a "sold" button or something) via that.

Would something like that work for you?

Donna

--
support@interactivetools.com


humanv3
New User

Jan 8, 2009, 6:02 PM

Post #11 of 13 (6054 views)
Shortcut
Re: [Donna] Additional Listing Templates [In reply to] Can't Post

Hi Donna, yes. My main feature would be to 'mark' a listing as sold from within the listings manager, and if I can achieve this by means of a graphic it would be perfect. How would I go about doing this? :)


thp
User

Jan 9, 2009, 7:16 AM

Post #12 of 13 (6044 views)
Shortcut
Re: [MikeB] Additional Listing Templates [In reply to] Can't Post

Mike, I was going to use the hide field javascript behaviour on my listing page for different types of property but believe your option is better and, possibly, easier. However, before implementing, I can't quite get my head around, how does the system know which template to use when a property is selected from the default listing index view. In the index listing, the property types are mixed i.e. land, rental, residential etc. Hope you can help


Donna
Staff / Moderator


Jan 13, 2009, 1:00 PM

Post #13 of 13 (5764 views)
Shortcut
Re: [humanv3] Additional Listing Templates [In reply to] Can't Post

Hi humanv,

Here are a couple of ways to do it -- one with a graphic, and one just with text.

Both methods: Create a new dropdown field, and call it "Status" or "Sold Status" or whatever you want. This will only show up in the back end. For the value of the field, set it to this:

Status(,sold)

Or, if you're using the text version, you could have something like this:

Status(,Sold!)

Graphic version:

Create two graphics. One is a blank 1x1 image, the other is whatever you want to display for your sold listings. Name the 1x1 pixel image something like image.jpg, and the sold graphic as soldimage.jpg -- the important part is that the 1x1 image filename is included in the sold image filename, and the extra part of the "sold" image should be what you chose for the dropdown menu above.

Now, add this into your templates where you want the "sold" image to appear:

<img src="/path/to/$lfieldX$image.jpg">

What this will do is display soldimage.jpg if you have "Sold" selected in that dropdown menu, or a blank 1x1 pixel (so, nothing) on any listing that doesn't have that selected. (Make sure you replace the "X" with the field number you created above.)

Text version:

Just add $lfieldX$ on your template where you want it to appear. Nothing will show up if there's nothing there, and "Sold" will appear if it is.

Other things you can add are other options -- like, "Pending", "Available", "Price Reduced" etc. For the graphic version, just keep adding new images with appropriate filenames.

I hope this helps. :)

Donna

--
support@interactivetools.com