Announcement

Collapse
No announcement yet.

search issue with customvar files

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

    search issue with customvar files

    Hi

    I have a rather strange issue. I am selling clothing and have products laid out as individual sections. Each product page has several buttons on it such as "Check Your Size", "Enlarge Image", "Buyers Guide". The "Enlarge Image" is defined in the extended properties area for the master product and the pop up works fine.

    The "Check Your Size" and "Buyers Guide" are customvars set up in the master product properties section and designed to pop up and display an appropriate size chart or information that is held as a separate file in the acatalog directory. However when a user accesses a product page using the search functionality these files cannot be found, whereas if they navigate to them normally they work.

    Can anybody help please.

    Mark

    My site is www.getgeared.co.uk
    <a href="http://www.getgeared.co.uk">GetGeared.co.uk</a>

    #2
    Yep - I can recreate the issue.

    The problem is that Actinic is looking for these pop-up windows within the 'cgi-bin' folder rather than the 'acatalog' folder. This is because the page that you go to after clicking on a search result is displayed via the perl scripts that are in the 'cgi-bin'.

    A quick way to stop this from happening is to de-select 'Highlight Located Text' in 'View | Search Settings | Results'.

    Comment


      #3
      Chris has pointed out the problem.

      If you'd rather maintain the search highlighting then you could change the JavaScript that calls these pages to contain the full URL. E.g. http://mysite.com/acatalog/sizeinfo.html

      If you refer to images, or other files, within these pages you should also add a

      <base href="http://mysite.com/acatalog/">

      in the HEAD section of these pages so they will know where to locate images from.


      Norman
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Many thanks for your replies. I'll give them a go
        <a href="http://www.getgeared.co.uk">GetGeared.co.uk</a>

        Comment

        Working...
        X