 |

Datahouse
User
Sep 27, 2004, 1:02 PM
Post #1 of 2
(2538 views)
Shortcut
|
I did found out how to make multiple language _search_results.html templates. So far this is working without problems. However: The page _search_results_uk.html comes up, and when I want to see the details, then I become the publish_listing.htm. How can I go from _search_results_uk.html to _publish_listing_uk.html? Thanks and greetings R.J Belgium
|
|
|  |
 |

Cliff
Staff

Sep 28, 2004, 1:41 PM
Post #2 of 2
(2529 views)
Shortcut
|
Hi R.J Thanks for posting Here's how you can do that. It's done by creating an entirely new _publish_listing.html template file so when viewing listings they'll be output with a different template. 1. Open up the _publish_listing.html template file in an HTML/text editor of your choice. Modify this template file to suit the look and feel of the UK section on the website. Once done, save this file as _publish_listing_uk.html 2. Upload the newly created _publish_listing_uk.html template file to your /listman/templates/_realty/ directory 2. Now, open up your _search_results_uk.html template file in an HTML/text editor of your choice. Change the following hyperlink in the _search_results_uk.html template file from this: <a href="$listing_url$/$listing_file$"> To this: <a href="$search_url$?view=$listing_num$&template=_publish_listing_uk.html"> You'll probably have to make this change in 6 places throughout the file. Making these changes ensures that all listings will be output using the design of the _publish_listing_uk.html template file. Save and you're done. You can repeat these same steps for any other regions. NOTE: you'll want to modify the _search_results_uk.html and _publish_listing_uk.html template files so only listing fields related to that region are output. Meaning you don't want to be outputting data related to German, or Dutch listings. You might also want to check out this section of the online documentation. It should be very useful. Let me know if that works, or if you need any more details! Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
 | |  |
|