Announcement

Collapse
No announcement yet.

customer account pages lose path to css/product images

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

    customer account pages lose path to css/product images

    hi community

    Very odd. My catalog works fine in retail mode but I've set up a customer account faclity and when someone logs in the pages seem to lose the stylesheets and images etc. it seems to be looking in the root folder for all the files rather than root/acatalog.

    I can still add to basket/check out etc in account mode though. Network setup passes test, permissons seem ok etc. I'm stumped.


    Anybody had a similar problem?

    #2
    Check the template has the base reference code.
    Peblaco

    Comment


      #3
      whoops

      ahh - sorry. it looks like it loses the display if i login from a brochure page (ie root/index.html) - looks fine if i login from within the /acatalog/ dir.

      sorry should have said this is from a 'SideLoginForm' ie quick login form rather than the dedicated login page. And i am using the same for on both the brochure and catalog layout.

      do you have a login in your home page - and (how) do you tweak it to make it work?

      thanks for getting back so promptly peblaco

      Comment


        #4
        url please

        Comment


          #5
          here you go jo

          link to the website

          thanks

          Comment


            #6
            Hi,

            Can you create a test account so I can try it out while logged in please.
            ********************
            Tracey
            SellerDeck

            Comment


              #7
              same problem here - is there a solution?

              I have the same problem with the image paths when logging in from the home page of http://www.pershoreplantemporium.com/
              the login is test / test

              It works fine from http://www.pershoreplantemporium.com/acatalog/home.html

              Comment


                #8
                EDIT - Sorry it is doing some strange things though, ok some how i ened up with an original actinic layout, have you got the wrong layout selected for your store pages.

                D

                Comment


                  #9
                  Hi Steve

                  As you have put the login code on your overall layout it looks like you've missed a bit out. I've tested it by adding the following code:

                  Code:
                  <FORM method="post" name="MainLoginForm" action=" http://www.pershoreplantemporium.com/cgi-bin/bb000001.pl"><INPUT TYPE=HIDDEN 
                  
                  NAME=PRODUCTPAGE VALUE="acatalog/home.html"><INPUT TYPE=HIDDEN NAME="ACTINIC_REFERRER" 
                  
                  VALUE="http://www.pershoreplantemporium.com/acatalog/"><input type="hidden" name="RANDOM" value="NETQUOTEVAR:RANDOM"><input 
                  
                  type="hidden" name="ACTINIC_REFERRER" value="http://www.pershoreplantemporium.com/acatalog/" />
                  before:

                  Code:
                  <script language="javascript" type="text/javascript">
                  <!-- Start script -----
                  // Place-holder for the script to ensure that https is used for this page
                  // if SSL mode is in use.
                  
                  
                  
                  function DWord(nHigh, nLow)
                  {
                  this.nLow = nLow;						// Set low-order value
                  this.nHigh = nHigh;						
                  }
                  It then worked for me.

                  ******

                  Peter,

                  I think you need to replace:

                  Code:
                  <form method="post" name="SideLoginForm" action=" http://server25.dedicateduk.com/~freshnet/cgi-bin/bb000001.pl " class="rhs-login">
                  with

                  Code:
                  <form method="post" name="SideLoginForm" action=" http://server25.dedicateduk.com/~freshnet/cgi-bin/bb000001.pl " class="rhs-login"><INPUT TYPE=HIDDEN NAME=PRODUCTPAGE VALUE="acatalog/home.html"><INPUT TYPE=HIDDEN NAME="ACTINIC_REFERRER" VALUE="http://server25.dedicateduk.com/~freshnet/acatalog/"><input type="hidden" name="RANDOM" value="NETQUOTEVAR:RANDOM"><input type="hidden" name="ACTINIC_REFERRER" value="http://server25.dedicateduk.com/~freshnet/acatalog/" />
                  Change:

                  Code:
                  PRODUCTPAGE VALUE="acatalog/home.html
                  with the page that you want the customers to land on after they have logged in.
                  ********************
                  Tracey
                  SellerDeck

                  Comment


                    #10
                    thanks tracey

                    i will give that a shot first thing monday morning. i suspect you are right as you are awesome at sorting out my problems!

                    it may be unnecessary but i have created a test account for you to see the problem.

                    the email address is peter @ alphastate.co.uk (remove the spaces either side of the @)

                    and the password is 12345

                    ------------------
                    before you (all) go though i have another problem which is related to the login...

                    once i login (from the catalog pages) my urls seem to work out of the cgi-bin which i'm sure is fine - but when i hit the 'home' link (top centre) i the logged in message dissapears. I presume i have been logged out.

                    On further investigation i see I have set the href for the home text link it as the variable "HomePageURL" - and I see that results in a empty <a href="">home</a> in my uploaded html source!

                    And so busted link and login session.

                    Should i use the variable "HomePageURL" for my href on the brochure/catalog templates? If so where and what should i enter as its value? (sorry that looks such flippin obvious question!)

                    it did occur to me that i should just insert the url of my website - but i fear that would result in me being 'logged out' as happens here as it wouldn't be working out the cgi-bin.

                    What do the experts use for your home text link?

                    thanks all

                    Comment


                      #11
                      Hi Peter,

                      Should i use the variable "HomePageURL" for my href on the brochure/catalog templates? If so where and what should i enter as its value?
                      Yes, you should be using 'HomePageURL' for your home page link. In my default site I have:

                      Code:
                      <a href="<actinic:variable name="HomePageURL" />"><actinic:variable name="HomeText" /></a>
                      and this works fine. It should automatically get the value from the network settings screen so you don't have to enter it anywhere else. I'm not sure why it's not working for you. As an alternative you could hard-code your link as:

                      Code:
                      <a href="http://server25.dedicateduk.com/~freshnet/cgi-bin/ss000001.pl?SECTIONID=../index.html&NOLOGIN=1">Home</a>
                      ********************
                      Tracey
                      SellerDeck

                      Comment


                        #12
                        thanks once again

                        your suggestions have fixed both of my problems.
                        thanks

                        Comment

                        Working...
                        X