Results 1 to 10 of 10

Thread: How I can do to make the browser look for id?

  1. #1
    Join Date
    Jun 2004
    Posts
    50

    Question How I can do to make the browser look for id?

    How I can do to make the browser look for id?


    http://demo.open-realty.org/listing-...q-ft-1771.html

    http://demo.open-realty.org/index.php?pclass[]=&action=search_step_2

    1771

    For example how would that look for the property id 1771?

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

    Default Re: How I can do to make the browser look for id?

    Quote Originally Posted by asitudela View Post
    For example how would that look for the property id 1771?
    At your Open-Realty installation, disable SEF links and you will have the answer at the URL bar of your browser.
    At the demo, the URL would be:
    Code:
    http://demo.open-realty.org/index.php?action=listingview&listingID=1771
    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)

  3. #3
    Join Date
    Jun 2004
    Posts
    50

    Default Re: How I can do to make the browser look for id?

    And how would the SEF enabled? Is this a bug?

    thanks

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

    Default Re: How I can do to make the browser look for id?

    Quote Originally Posted by asitudela View Post
    And how would the SEF enabled? Is this a bug?
    This is not a bug. Log in at backend as admin, go to Site Config, SEO tab and you will see a select dropdown "URL Type" where you choose Standard URL or Search Engine Friendly.
    Also good reading: http://docs.google.com/View?id=dhk2c...ne_Optimizatio

    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)

  5. #5
    Join Date
    Jun 2004
    Posts
    50

    Default Re: How I can do to make the browser look for id?

    If I knew where he was the option to enable and disable the SEF.

    My question is: How can the web visitors to search by id? Without having to turn off SEF of course

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

    Default Re: How I can do to make the browser look for id?

    Quote Originally Posted by asitudela View Post
    My question is: How can the web visitors to search by id?
    At your "search_page_#.html" HTML template file you need to insert for example:
    HTML Code:
    <form action="index.php">
    <input name="action" value="listingview" type="hidden">
    Search by Listing ID: <input size="4" name="listingID" type="text">
    <input value="Search" type="button" onclick="submit();">
    </form>
    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)

  7. #7
    Join Date
    Jun 2004
    Posts
    50

    Default Re: How I can do to make the browser look for id?

    Works!!! THANKS!!!!! )))

  8. #8
    Join Date
    Aug 2010
    Posts
    6

    Default Re: How I can do to make the browser look for id?

    Hello, i tried to put your search by id code in my search template, but it doestn work. Can you help me?

    {templated_search_form}
    <form action="index.php" method="get">
    <table width="100%" id="horizontal_search">
    <tbody>
    <tr>
    <td align="center">Выбрать</td>
    <td>{search_fields}</td>
    <td align="right">Макс.&nbsp;цена</td>
    <td><input name="price-max" type="text" size="10" />&nbsp;€</td>
    <td align="right">или&nbsp;№</td>
    <td><input name="listingID" type="text" size="10" /></td>
    <td><input type="hidden" name="action" value="searchresults" />{search_type}<input type="submit" value="Найти" /></td></tr></tbody></table></form>{/templated_search_form}

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

    Default Re: How I can do to make the browser look for id?

    Quote Originally Posted by aiba View Post
    Hello, i tried to put your search by id code in my search template, but it doestn work. Can you help me?
    Here you go:

    HTML Code:
    ...
    <td align="right">или&nbsp;</td>
    <td><input name="listing_id" type="text" size="10" /></td>
    <td><input type="hidden" name="action" value="searchresults" />{search_type}<input type="submit" value="Найти" /></td>
    ...
    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)

  10. #10
    Join Date
    Aug 2010
    Posts
    6

    Default Re: How I can do to make the browser look for id?

    Eduardo, you are great! Thanx a lot!

Similar Threads

  1. mobile browser templates?
    By thetico in forum General Help (CLOSED)
    Replies: 4
    Last Post: 03-05-2010, 02:47 PM
  2. browser question
    By katzbm in forum Installation/Configuration Help (CLOSED)
    Replies: 1
    Last Post: 01-11-2010, 07:33 PM
  3. How to centre webpage on browser
    By DJFlex in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 1
    Last Post: 01-17-2008, 05:54 PM
  4. Blank Screen on Browser
    By computersltd in forum Installation/Configuration Help (CLOSED)
    Replies: 2
    Last Post: 05-16-2006, 12:12 PM
  5. FireFox v1.x Browser Optimizer
    By the_sandking in forum General Discussion
    Replies: 3
    Last Post: 07-28-2005, 06:29 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
  •