
Cliff
Staff

May 11, 2005, 1:25 PM
Post #4 of 13
(6992 views)
Shortcut
|
|
Re: [osluk] multiple publish listing pages
[In reply to]
|
Can't Post
|
|
Hi Chris, Thanks for posting. Setting up Listings Manager to use different templates isn't too hard, and I'll do my best to give you instructions on how you can set this up. Let's start with the search query pages. 1. Make a copy of your current _search_query.html template. Rename it something relevant like: search_query_fr.html Save the template, and re-upload it to the server. You can now translate this template and access it through the search engine like this: http://www.yoursite.com/listman/exec/search.cgi?template=_search_query_fr.html Then what you can do is pass the results from the search into a specific results template, and then from the translated results template into a translated listings page. 2. Make a copy of your current _search_results.html template. Rename it something relevant like: _search_results_fr.html 3. Then you can do the same thing for the _publish_listing.html template. Make a copy, and rename it something like: _publish_listing_fr.html 4. On the new translated search results template, use you find/replace on your HTML editor and change the link reference to each listing from this: $listing_url$/$listing_file$ to this: $search_url$?view=$listing_num$&template=_publish_listing_fr.html This tells the program to use the alternate translated template. 5. Once that is done you need to tell the translated search template that you have made that you want the results that it outputs to be displayed on the translated search results template. So all you need to do is add another hidden form field to the search form (_search_query_fr.html). It should look like this: <input type="hidden" name="template" value="_search_results_fr.html"> 6. When you have confirmed that all that is setup properly, you can go ahead and start to configure each template so that they are fully translated. Now each of the templates that you have created are completely customizable, so you can add what ever you like to them. And setting this up with an other language template set is exactly the same method. That should give you the effect that you are looking for, but if things aren't working the way that you expect just let me know and I'll try to get you back on track. Regards, Cliff Stefanuk - Customer Service Manager [email]support@interactivetools.com[/email]
|