Announcement

Collapse
No announcement yet.

Redirect login

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

    Redirect login

    Hi!

    Can anyone give me the simplest way to redirect our login page to go to a different page other than the index/catalogbody?

    The answer on the Knowledge Base is a bit undecipherable to me, for example it ends with:

    "Just remove the &NOLOGIN=1 from the end of this URL and customers be shown the login page before then going onto the selected section."

    Is this a complete sentence??

    #2
    Hi Christy,

    If you do what the knowledgebase article says, then copy the link it produces once you have uploaded and remove the '&NOLOGIN=1' part, you can use that as your new login link.

    For example, I have just tried this out on one of our default stores and want people to go straight to the 'Products Built from Add-ons' section once they login. So, I created the test fragment and made the link to the above section and then uploaded my store. When I viewed the source I saw:

    <A HREF = http://localhost/cgi-bin/ss000001.pl...html&NOLOGIN=1 TARGET="_self">Login</A>

    Now I can use this link to hard-code my own 'Login' button on my homepage that will take my logged in customers to the 'Products Built from Add-ons' section. Removing the '&NOLOGIN=1' part means that the login page will be displayed when the customer clicks on the link.

    I hope this makes it clearer.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Tracey,

      I just gave it a shot and I find that my ability to make a fragment is greyed out in the menu. What do I do now?

      Thanks!

      Christy

      Comment


        #4
        Redirect

        If your site is on UNIX, I know that you can put a
        redirect line in the .htaccess file of any directory.
        I have done it this way for one of my clients.
        I have it set up to where the tell their customers
        to go to:
        http://life-line.org/catalog
        and the .htaccess file redirects the "catalog"
        request to "acatalog".

        It looks like this inside the .htaccess file:
        Redirect /catalog http://life-line.org/acatalog
        ----------------------------------------------------------------
        I also have another one like this:
        For: http://life-line.org/catalog/contribute
        The .htaccess redirect goes like:
        Redirect /acatalog/contribute http://life-line.org/acatalog/If_You_Love_LIFE.html
        ----------------------------------------------------------------
        As you can see, the first redirect example always
        handles the "catalog to acatalog", and the second
        example always handles the "contribute" redirect.

        Notice how the second example has "acatalog" in it.

        You must be very care with this though.
        Try to think of what is going to transpire tens steps
        ahead, or in other areas of the site as a result of
        your "redirect".

        Copy these examples into note pad with word wrap
        off for a clearer example.

        Hope these examples help you
        Best Regards,
        John King
        Web Master - BizPlus2000.com
        Web Hosting and Design for Today's Internet!
        Visit <a href="http://bizplus2000.com">BizPlus2000.com</a>

        Comment


          #5
          Hi Christy,

          The fragment option will be greyed out if you are not using our brochure pages. Create a new brochure page first and then you will be able to add a fragment.
          ********************
          Tracey
          SellerDeck

          Comment


            #6
            Tracey,

            My option to choose New Brochure Page is also greyed out. I cannot activate in Design | Options either. What now?

            Comment


              #7
              John,

              I will have to contact our ISPs web developer to get some assistance with the .htaccess file [it has been a very long time since I've used Telnet!].

              I will try the option though, thanks for your attention to my problem!

              Christy

              Comment


                #8
                Hi Christy,

                Can you tell me which version of the software you are using (Help | About) and also whether it is 'Catalog', 'Business' 'Order Manager' or 'Developer. Also, do you have any options unchecked in 'View | Business Settings | Options | Allow on this PC' ? I haven't been able to get my 'New Brochure Page' option to grey out.
                ********************
                Tracey
                SellerDeck

                Comment


                  #9
                  Tracey,

                  Sorry about that, I should have told you earlier. We're using
                  Developer 6.1.3.1.0.0.DHBA. No options are unchecked in my business settings.

                  Thanks again!

                  Christy

                  Comment


                    #10
                    Christy

                    Highlight the green Online Catalogue icon in the Actinic tree, then do a right click. 'New Brochure Page' should be one of the options in the right-click menu.

                    Comment


                      #11
                      I have read all the threads in this posting twice and searched the knowledge base, but I am still confused.

                      I have a Actinic Business site that forces users to login before they attempt to login.

                      I know the page I want them to be directed to after logging in its called "specials.html".

                      I can do the test thingy as defined in knowledge base article http://knowledge.actinic.com/users/k...s_94.html#a391
                      But I don't know what to do with the URL I obtain.

                      I was hoping for a box somewhere in Actinic that said words to the effect "after login goto URL". But I cant find one. I am happy to hand code the login file if thats necessary, but a bit concerned that if the page changes name, the login will redirect to a dead page.

                      Can anyone please advise what exactly I need to do, to go somewhere other than the default page after logging in.


                      Comment


                        #12
                        sametch

                        You could try this Perl Script hack if you like, the only thing about applying this, would be it would work for Registered and Unregistered customers...

                        If you edit AccontScript,pl

                        Locate sub CAccPrintPage

                        Scroll down to...

                        my ($sFirst,$sLast) = split("#",$sProductPage);

                        Immediately before this line insert...
                        if ($sProductPage eq $$::g_pSetupBlob{'CATALOG_PAGE'} )
                        {
                        $sProductPage = "specials.html";
                        }

                        Links from the brochure pages to sections or products will go through the login page and return the requested section/page.

                        Selecting the Shop link from the brochure page will take the customer through login to specials.html.

                        If an unregistered buyer enters the shop they will initially get
                        specials.html, if they subsequently login they will
                        remain on the same page, i.e will not be taken to
                        specials.html.

                        Alternatively, if that is not the affect you want, then try Tracey's suggection at the top of this page.

                        James

                        Comment


                          #13
                          James,

                          Your script tweak worked like a charm!

                          Is there a similar one that can do this for the catalogbody.html page?

                          Thanks!

                          Christy

                          Comment


                            #14
                            James,

                            Errk...umm, well I thought it worked like a charm. I chose one page of the catalog to enter into and I was hoping the discount code would extend throughout the entire catalog.

                            Any way to make it for the whole thing instead of one .html page?

                            Thanks again!

                            Christy

                            Comment


                              #15
                              Hi Christy

                              What do you mean by the discount code? Could you let me know the URL of the test site, the www link above goes to a business site but there is no login required.

                              Im not too clear what you are trying to do here.

                              James

                              Comment

                              Working...
                              X