Announcement

Collapse
No announcement yet.

path to images/css file

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

    path to images/css file

    Hi,

    I am having a problem displaying images when going from /acatalog/ URLs to /cgi-bin/ URLS.

    Support advised me to FTP the actinic.css and images to the server cgi-bin directory as well as the site1 directory on the PC.

    This works fine for header images, but using the search and login pages requires all product images to be there as well, which I don't think is a good idea.

    I have ensured that I have a BASEREF included in my Primary template but without any luck.

    Any help would be greatly appreciated.

    See http://www.stencilwarehouse.com/acatalog/ for any more.

    Thanks in advance.

    #2
    Hi John - have you tried just setting the HTTPS to "checkout and login pages only" under View | Busines Settings | Payments & Security > SSL

    Not sure of the need for HTTPS on the main catalog pages?


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Thanks for the suggestion, but that is how we have it.

      John

      Comment


        #4
        Any ideas guys???

        Comment


          #5
          Weird. On your cgi-bin generated pages I see

          <actinic:basehref value="http://www.stencilwarehouse.com/acatalog/"></actinic:basehref>

          This should be replaced by the Perl scripts with

          <BASE HREF="http://www.stencilwarehouse.com/acatalog/">

          so it seems like the Perl isn't interpreting the

          <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>

          Check that you have this line exactly as above in your Act_Primary.html. Perhaps Actinic is case sensitive when detecting this tag.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Thanks for your advice Norman, I have made the change you suggested, but unfortunately, it is still the same.

            Why would Actinic be looking for images in the cgi-bin directory?

            I must add, this installation is an upgrade from V5 to the latest V7. Not sure if that makes any difference. It is also running on Windows IIS

            Thanks
            John Fuller

            Comment


              #7
              John,

              This seems to be working now. Looks like changing the BASEHREF worked.

              Kind regards,
              Bruce King
              SellerDeck

              Comment


                #8
                Hi

                I spoke to Support again, and they recommended I do the following:

                Go to View > Search Settings > Results
                Deselect Highlight Located text
                Do a complete Refresh.


                Not sure how this would affect the pathing form the cgi-bin to the acatalog directory, but it seemed to work. Maybe the refresh cleared the BASE HREF properly.

                But thanks for all your help.

                John

                Comment


                  #9
                  Originally posted by NormanRouxel

                  <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>

                  Check that you have this line exactly as above in your Act_Primary.html.

                  Is there any way to hard-code the BASE HREF in Act_Primary.html so that it always goes to the correct place, ie <BASE HREF="http://www.site.com/acatalog/">?

                  I too have had a problem with the BASE HREF pointing to a random folder for a random customer and thus losing images and css.

                  Jo

                  Comment


                    #10
                    I would presume you would need this hardcoded into your catalog pages:
                    <Actinic:BASEHREF VALUE="http://www.thedomain.com/acatalog/"/> in the Head.

                    Comment


                      #11
                      Is there any way to hard-code the BASE HREF in Act_Primary.html so that it always goes to the correct place,
                      this should not be necessary...as long as you haven't messed with the actinic code for BASEREF in the templates, and you have network settings set up correctly then BASEREF is taken from the catalog URL.

                      it is always better to fix a problem at source than apply a fudge on top.

                      Comment


                        #12
                        Just realised that I rudely failed to reply to the kind people who suggested help for my query - much appreciated.

                        Jo

                        Comment

                        Working...
                        X