Announcement

Collapse
No announcement yet.

Login Redirection to specific URL

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

    Login Redirection to specific URL

    Hi everyone,

    I have looked at a load of posts regarding this however they do not seem to answer the question that I have.

    I have a client who does not wish to see the catalogue index page in any shape or form. The issue I have is when a person logs in the page is then redirected to the catalogue (see where I'm going with this... =)

    Anyway can anybody point me in the right direction of which perl file contains the code to manipulate in order to take the user to another page apart from the catalogue index.

    Incidentally the url to the site is http://actinic.fmedia.co.uk. Go to tshirts and mens season one and then product 2.

    Any additonal feedback would be grateful.

    Thanks in advance.
    Regards.

    Lee Jackson
    Creative Director

    Centurius Design & Marketing
    Centurius Website
    Portfolio of Work

    #2
    Lee,

    Edit AccountScript.pl, open with notepad

    Locate 'sub CAccPrintPage'

    Scroll down to...

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

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

    Assuming you have ticked 'Request Login on Shop Entry' then 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 'Page_You_Want_To_Redirect_To.html'.

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

    Replace 'Page_You_Want_To_Redirect_To.html' with the page you want people to go to.

    If you want the same to happen when someone logs out of the store, then please follow the Knowledge Base article on the provided link, http://knowledge.actinic.com/acatalo...es.html#aKB439

    Kind regards,
    Bruce King
    SellerDeck

    Comment

    Working...
    X