Announcement

Collapse
No announcement yet.

SectionURL question

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

    SectionURL question

    I recently added an auto generated product list at the top of section pages that have more than one product, however I have noticed that since upgrading to 8.5, the SectionURL variable which I used to link to the individual products (i.e. "<actinic:variable name="SectionURL" />#a<actinic:variable name="ProductReference" />") now links to the product via a CGI script and breaks the functionality

    example:
    http://xxx/cgi-bin/ss000001.pl?SECTIONID=practical-hand-and-half-sword.html&NOLOGIN=1#aHW2046
    vs
    http://xxx/acatalog/practical-hand-and-half-sword.html#aHW2046

    We don't use the login system of Actinic so the main advantage of the CGI redirect is not necessary

    I'm aware I could simply use relative links to the individual product anchors but in this case I'd like to use absolute links throughout the site

    I can work around the issue with Actinic's PHP + ODBC to get the real section URL but I'm wondering if there's any simpler way - i.e. another variable I don't know about that will give me the absolute current section URL?

    #2
    Nevermind, I think I've got it with "<actinic:variable name="CatalogURL" /><actinic:variable name="SectionPageName" />"

    Comment


      #3
      That will take you to the top of the page. You'll need to add the anchor ( e.g. #aHW2046 ) to go to the exact product.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Obviously

        Comment

        Working...
        X