Results 1 to 2 of 2

Thread: How to display all listings of a given class directly from main screen button

  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Question How to display all listings of a given class directly from main screen button

    Can anyone tell me how to modify the following lines in Main.html to display all listings of the selected class directly without displaying the search screen.

    ==
    <li><a href="{baseurl}/index.php?action=search_step_2&amp;pclass[]=1" title="Homes">Homes</a></li>
    <li><a href="{baseurl}/index.php?action=search_step_2&amp;pclass[]=3" title="Farms">Farms</a></li>
    <li><a href="{baseurl}/index.php?action=search_step_2&amp;pclass[]=4" title="Commercial">Commercial</a></li>
    <li><a href="{baseurl}/index.php?action=search_step_2&amp;pclass[]=2" title="Land">Land</a></li>
    ==

  2. #2
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: How to display all listings of a given class directly from main screen button

    Quote Originally Posted by WLDenton View Post
    Can anyone tell me how to modify the following lines in Main.html to display all listings of the selected class directly without displaying the search screen.
    O-R DOC's is your friend!
    At https://docs.google.com/View?id=dhk2...94359227206887 you will read:
    url_searchresults_class_# - Places the URL to the search results page for property class # into the template.

    So:
    HTML Code:
    <li><a href="{url_searchresults_class_1}" title="Homes">Homes</a></li>
    <li><a href="{url_searchresults_class_3}" title="Farms">Farms</a></li>
    <li><a href="{url_searchresults_class_4}" title="Commercial">Commercial</a></li>
    <li><a href="{url_searchresults_class_2}" title="Land">Land</a></li>
    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

Similar Threads

  1. how to display last 10 listings on the main page?
    By escrehber in forum General Help - Free Edition
    Replies: 4
    Last Post: 10-20-2010, 03:31 AM
  2. Need to link directly to Class ID...
    By nsmanners in forum General Help (CLOSED)
    Replies: 4
    Last Post: 03-31-2010, 04:09 PM
  3. Which Class is submit button?
    By tony9339 in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 1
    Last Post: 08-21-2008, 07:11 PM
  4. Which Class is submit button?
    By tony9339 in forum General Help (CLOSED)
    Replies: 0
    Last Post: 08-21-2008, 06:20 PM
  5. Display featured listings by class
    By tariqwest in forum General Help (CLOSED)
    Replies: 1
    Last Post: 09-11-2006, 08:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •