You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
When a person logs in, i'd love for them to be directed toward the content page for the catalog display.
Is there a way to implement this? Is the page redirect after login able to be changed?
Offline
lucas.shoesmith wrote:
When a person logs in, i'd love for them to be directed toward the content page for the catalog display.
Is there a way to implement this? Is the page redirect after login able to be changed?
redirect url is set Line 305 of /private/core/CORE_FrontEnd/ext/accounts.php
Offline
That helps alot, but it's not quite there. If I'm reading this right, i want the namespace catlist after login, however, that belongs to the app for ecom.
The page that I want displayed, if I were referencing it by get variables, would look like
' index.php?app=ecom&ns=catlist '
I think that the login process is in the wrong app context for it to then reference the catlist namespace.
Is there a way to change which app that the login redirect is looking in?
Offline
nevermind, got it figured.
For anyone else that ever reads this, the area in code for 305 of /private/core/CORE_FrontEnd/ext/accounts.php
looks as follows -
$redir_app = false;
if (!(empty($coactive))) {$destns = 'checkout';}
else {
$destns = 'catlist';
$redir_app = 'ecom';
}
if (!$redir_app) {$redir_app = $this->globals('core.app');}
$glob_redir_ns = $this->globals('core.redir_ns');
$cgi_redir_ns = $this->globals('core_cgi.redir_ns');
$redir_ns = ($glob_redir_ns ? $glob_redir_ns : $cgi_redir_ns);
if ($redir_ns) {$destns = $redir_ns;}
return $this->exec_namespace(array('app' => $redir_app,//$this->globals('core.app'),
'namespace' => $destns,
'type' => '*',
'params' => null));
Offline
Pages: 1