Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
Form action for custom template

 

 


thp
User

Jan 26, 2009, 9:40 AM

Post #1 of 3 (1814 views)
Shortcut
Form action for custom template Can't Post

Hello, using guidlines from previous posts, I have created a rental section to my website. Created the Templates _publish_listing_rental.html and _search_results_rental.html.

On these pages, I have a quick search form and need to know what code to use to replace the default code for the form action;

<form method=get action="$cgiurl$">

When the form is processed, I want the results to show in my custom template, _search_results_rental.html template.

Currently, it uses the default Template when the results are returned.

Hope you can help.


(This post was edited by thp on Jan 26, 2009, 9:43 AM)


Donna
Staff / Moderator


Jan 27, 2009, 4:57 PM

Post #2 of 3 (1791 views)
Shortcut
Re: [thp] Form action for custom template [In reply to] Can't Post

Hi there,

The form action doesn't change, but you can add this:

<input type="hidden" name="template" value="_search_results_rental.html"> to get it to use your custom template. :)

Donna

--
support@interactivetools.com


thp
User

Jan 28, 2009, 1:51 AM

Post #3 of 3 (1786 views)
Shortcut
Re: [Donna] Form action for custom template [In reply to] Can't Post

Thanks! Works a treat.