Results 1 to 3 of 3

Thread: search_results_class_CLASSID.html problem

  1. #1
    Join Date
    Mar 2004
    Posts
    17

    Unhappy search_results_class_CLASSID.html problem

    I am trying to use different search Templates for different property classes for a site that has Long Term Rentals, Holiday Rentals and Property Sales.
    (I am using Version 2.4.3)

    I think I have followed the instructions correctly on: -
    http://wiki.open-realty.org/index.ph...sult_Templates

    search_results_class_CLASSID.html So in my example I added a new property class 5 where I need a different search results template.

    So I copied the default search page changed some text on it so I will know it is a different page when it loads and renamed it search_results_class_CLASS5.html etc.
    So now when the non default class ID is called the new results template page comes up ok except is has no data in it, as in any of the field values.

    I tried it on 2 different installations and have the same problem.
    Not sure if I am doing something obviously wrong or missed something, any pointers or help to why this is happening would be appreciated please?

  2. #2
    Join Date
    Nov 2004
    Posts
    453

    Default Re: search_results_class_CLASSID.html problem

    Hi

    For class 5 name the file search_results_class_5.html and it should work

    Paul

  3. #3
    Join Date
    Mar 2004
    Posts
    17

    Default Re: search_results_class_CLASSID.html problem

    Thanks for the reply Paul. It made me check and go over everything again.

    I had 'search_result_class_5.html' rather than 'search_results_class_5.html' so I was missing the 's' on the word result.

    All the other default pages have 'result' rather than 'results' in their titles.

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
  •