Redirect Admin Logout - Joomla! Forum - community, help and support
i have external url redirect not have token url joomla admin.
this redirects trap ban, hit url, web ring.
the problem when log out of joomla admin automatically takes me joomla admin login page, means i sent own trap, (my ip white listed other admins may on non static ips)
i admin log out go joomla home page.
(preferably through admin template 'bluestork' can copy not overwritten on updates)
i have seen code in template:
however open other solutions.
the joomla redirect of no use due token!
would appreciate on this!
this redirects trap ban, hit url, web ring.
the problem when log out of joomla admin automatically takes me joomla admin login page, means i sent own trap, (my ip white listed other admins may on non static ips)
i admin log out go joomla home page.
(preferably through admin template 'bluestork' can copy not overwritten on updates)
i have seen code in template:
code: select all
<?php
//display harcoded logout
$task = jrequest::getcmd('task');
if ($task == 'edit' || $task == 'edita' || jrequest::getint('hidemainmenu')) {
$logoutlink = '';
} else {
$logoutlink = jroute::_('index.php?option=com_login&task=logout&'. jsession::getformtoken() .'=1');
}
$hidelinks = jrequest::getbool('hidemainmenu');
$output = array();
// print preview link main site.
$output[] = '<span class="viewsite"><a href="'.juri::root().'" target="_blank">'.jtext::_('jglobal_view_site').'</a></span>';
// print logout link.
$output[] = '<span class="logout">' .($hidelinks ? '' : '<a href="'.$logoutlink.'">').jtext::_('jlogout').($hidelinks ? '' : '</a>').'</span>';
// output items.
foreach ($output $item) :
echo $item;
endforeach;
?>however open other solutions.
the joomla redirect of no use due token!
would appreciate on this!
you can try redirecting actual url want editing .htacces file 301 redirect
Comments
Post a Comment