PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Renaming search_template file to .asp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Renaming search_template file to .asp

    Hi Everyone

    For a reason, my search_template page has to be search_template.asp, not search_template.html. Is there a way to configure the search engine use search_template.asp?

    Thank you
    Lin

  • #2
    I can't think of any reason why you would want to rename the template file.

    If you want to add ASP code to the template, refer to this page,
    http://www.wrensoft.com/zoom/support/faq_ssi.html

    ------
    David

    Comment


    • #3
      It's a simple fix, there is supposed to be a way in the Zoom interface, but it didn't work for me. Open the "settings.asp" file, on line 19 is should have this

      TemplateFilename = "search_template.htm"

      just change the file name to whatever you want and your done!!

      Comment


      • #4
        Once again. I can't think of any reason why you would want to rename the template file.

        It is not correct to say there was supposed to be a way to change it from the Zoom interface. The file is an internal file and the end user never sees this file name. So we didn't expect people to need to change the name.

        Don't edit the settings file. Most users end up corrupting the file in short order. Which results in the search script crashing in many random different ways. So DON'T do this. The setting files contain important record counts of the index files. The settings file can NOT be correctly edited by hand. Sooner or later you'll mess up the record counts.

        The reason some people think they need to rename the file is to include PHP or ASP scripting. But there is a better way to do this. See,
        http://www.wrensoft.com/zoom/support/faq_ssi.html

        ----
        David

        Comment

        Working...
        X