Announcement

Collapse
No announcement yet.

Using .php extension with search results

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

    Using .php extension with search results

    Hi

    I have used .php on my catalog files so that I can parse some php for a stats page. Every thing works fine except when I click a result from the search page to go to that particular product. I get the following message:

    "Highlight page name corrupt"

    Is this because I have used the .php extension on the catalog pages and the search setup doesn't recognise this format of page extension.

    Thank you for any advice in advance

    www.therealdesigncompany.co.uk

    #2
    The simple option is to just go to 'View | Search Settings | Results' and untick where it says 'Highlight Located Text'.

    There is a perl fix here for *.shtml pages which you may be able to adapt for php.

    Basically, change the line mentioned to read

    Code:
    if ($sPageName !~ /\.php?/i ||
    I haven't tested this, but it should work.

    Comment


      #3
      Yes that worked a treat!

      Cheers

      Comment

      Working...
      X