Announcement

Collapse
No announcement yet.

unsuccessful logins

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

    unsuccessful logins

    Hi,

    Just a quick one is it possible to link to a different page on unsuccessful login's
    Ie. my home page

    Many Thanks

    JAY CEE

    #2
    Hi

    To achieve this, you will need to make a minor adjustment to one of your .pm files. However, before you make any changes, please be sure to create a back-up of the file in question.

    1. Browse to C:\Program Files\ActinicEcommerceV6\Sites\Site1 and find the file Actinic.pm. Open it in a text editor like Notepad.

    2. Find the line :
    $::g_sContentUrl .= $$::g_pSetupBlob{B2B_LOGONPAGE};

    [Please note that it has to be $::g_sContentUrl and not $::g_sWebsiteURL, as the CTRL+F results will bring up.]

    3. Replace this line with :
    $::g_sContentUrl .= $$::g_pSetupBlob{BROCHURE_FRAMESET_PAGE};

    4. Save the file and refresh your site. In case of unsuccessful login attempts, you will now be taken to the Home page.

    Regards
    Krithika Chandrasekar
    SellerDeck

    sigpic

    E-commerce software by SellerDeck

    Comment


      #3
      Ok this all works.

      My only problem is that my home page is on a different site.

      www.farmerschoice.net

      is it possible to go back to this?

      Many Thanks

      Jay Cee

      Comment


        #4
        Hi

        In that case, change :

        $::g_sContentUrl .= $$::g_pSetupBlob{BROCHURE_FRAMESET_PAGE};

        to

        $::g_sContentUrl = "http://www.farmerschoice.net/";

        Save the file and refresh the site.

        Please be sure to create a back-up before modifying any templates and/or perl scripts.

        Cheers !!!
        Krithika Chandrasekar
        SellerDeck

        sigpic

        E-commerce software by SellerDeck

        Comment


          #5
          Brilliant

          As always with your advise worked perfectly.


          Many Thanks

          Jay Cee

          Comment


            #6
            When the "unknown user or invalid password" page appears, it's on the Primary template - is there a way of changing this as I have a link on my Primary template which is pointing to my to my catalog so customers can get around the process of logging in?

            I've taken the bounce delay of the page down to 0 but it still flashes up briefly which doesn't look very tidy!

            Many Thanks

            Michael

            Comment


              #7
              Hi there

              The login page uses the "Checkout Primary template" in "Design | Option | Layout". There is no way of changing this I'm afraid.

              Kind Regards
              Nadeem Rasool
              SellerDeck Development

              Comment


                #8
                Many Thanks Nadeem for getting back to me,

                Is there a way of skipping this page totally? I've followed Chris Dickins advice on another thread (Kill login bounce page), the advise was to edit the Actinic.pm file in notepad in two instances from:

                $sMetaTag = "<META HTTP-EQUIV=\"refresh\" "; # refresh message
                $sMetaTag .= "CONTENT=\"$nDelay; URL=".$sRefPage."\">\n";

                to:

                $sMetaTag = "<META HTTP-EQUIV=\"refresh\" "; # refresh message
                $sMetaTag .= "CONTENT=\"0; URL=".$sRefPage."\">\n"; # $nDelay

                this takes the delay down to 0 but the page still appears.

                What happens if the delay is a negative value?

                Comment


                  #9
                  Hi Mike

                  You could hardcode the script to go to the index page of your store rather than a bouce page. But you may have some side effects to this.
                  So i would suggest in backing up your Actinic.pm first, once you have done this, simply open "Actinic.pm" and change the line

                  Code:
                  $sMetaTag .= "CONTENT=\"0; URL=".$sRefPage."\">\n";
                  to
                  Code:
                  $sMetaTag .= "CONTENT=\"0; URL="http://www.domain.com/acatalog/index.html"\">\n";
                  Changing the www.domain.com to your address.

                  See if this works, having a negative value in the delay will not work.

                  Kind Regards
                  Nadeem Rasool
                  SellerDeck Development

                  Comment

                  Working...
                  X