Announcement

Collapse
No announcement yet.

How to add login to catalog pages?

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

    How to add login to catalog pages?

    I know I saw a thread about this at one time, but I can't find it now that I need it! I'd like to add a login button or link on all my pages. Right now if you bypass login to browse, you have to go back to the home page, then click shopping to get back to the login page. It would be nice if they could login from any page - as soon as they spot something they want to purchase.
    -------

    Pat

    #2
    Pat,

    You need to insert 'NETQUOTEVAR:NAVBLOGIN' into the Primary template where you would like the Login button to appear. If you prefer, you can just use the URL of the navigation button as part of your own custom navigation control. To do this simply add the word 'LINK' onto the end of the above variable, and place it within an <a> tag.

    For instance:
    <a href="NETQUOTEVAR:NAVBLOGINLINK">. . .</a>
    …will create a link to the Login Page.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Originally posted by Bruce
      Pat,

      You need to insert 'NETQUOTEVAR:NAVBLOGIN' into the Primary template where you would like the Login button to appear. If you prefer, you can just use the URL of the navigation button as part of your own custom navigation control. To do this simply add the word 'LINK' onto the end of the above variable, and place it within an <a> tag.

      For instance:
      <a href="NETQUOTEVAR:NAVBLOGINLINK">. . .</a>
      …will create a link to the Login Page.

      Kind regards,
      How would I do this so that new clients get emailed login details upon sign up so that when they login using those details, their account information is used so that they don't have to type it all in again?

      I'm using actinicv7 with sageline50 and actinic link, but right now when clients come back to the site, they have to enter their details again and again unless they enter those details identically each time, they are added as a new client in sage each time...!

      Any advice appreciated, tearing my hair out on this one!

      Comment


        #4
        You are asking the same question in 2 threads - I have replied on the other. It may be an idea to delete one of them

        Comment


          #5
          Originally posted by Bruce
          You need to insert 'NETQUOTEVAR:NAVBLOGIN' into the Primary template where you would like the Login button to appear. If you prefer, you can just use the URL of the navigation button as part of your own custom navigation control. To do this simply add the word 'LINK' onto the end of the above variable, and place it within an <a> tag.

          For instance:
          <a href="NETQUOTEVAR:NAVBLOGINLINK">. . .</a>
          …will create a link to the Login Page.
          I tried this and sure enough it places a link to the complete login page.

          How can I put the login boxes in a panel on the right of a Smart theme site?

          Do I need to put the entire login Javascipt into Act_BrochurePrimary & Act_Primary? If so, where?

          I think I have seen this on a site somewhere.
          Paul
          Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

          Using V10.2 with Norman's brilliantly simple TABBER.

          Comment


            #6
            Paul,

            It can be done, you will have to copy the source code for your login page and then paste that to a .txt file and save that to your Site1 folder. In 'Design | Options' against 'RIGHTBARTEXT', scroll to the right and select 'File Name' this will highlight 'Use file Content' select this and in the value field enter the name of the file.

            Kind regards,
            Bruce King
            SellerDeck

            Comment


              #7
              It isn't displaying as text boxes, I just get:

              NETQUOTEVAR:REGISTERED
              Email address:
              NETQUOTEVAR:USERNAMEFIELD
              (Lowercase)
              Postcode:
              NETQUOTEVAR:PASSWORDFIELD
              Capitals, no spaces
              NETQUOTEVAR:SUBMITBUTTON

              which is the html from the original login page.

              What's missing?
              Paul
              Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

              Using V10.2 with Norman's brilliantly simple TABBER.

              Comment


                #8
                You can only copy the source code by viewing it on a generated page. You cannot use the login.html values here, it needs to be the generated code.

                Kind regards,
                Bruce King
                SellerDeck

                Comment


                  #9
                  Thanks Bruce - I got it working after several hours - then decided I wasn't sure that it achieved what I had in mind, or even like it!

                  1) Copying the source code & inserting it into a text file basically put the entire page into a sidebar, then I had to strip out the unwanted bits - with all the nested tables it wasn't clear where it started or ended.

                  2) I was unable to remove a space at the top - once logged in, this is populated by Buyer - Name - Company - Logout but it wouldn't go away even if I deleted that reference
                  Attached Files
                  Paul
                  Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                  Using V10.2 with Norman's brilliantly simple TABBER.

                  Comment

                  Working...
                  X