Quote:
|
Originally Posted by gklassen I find this works for me. Just change http://mysite in the URL of the redirect (Refresh) to your URL address and save the file as Login.html or whatever you want. It the user goes to http://mysite/login.html instead of http://mysite, it should behave the same way in your website as if you had added a Login mos_component to a menu item and selected that. Note: if you add a Login menu item of type mos_component, you can copy the link in your test webpage and verify that the Itemid is correct. Note: Going to http://mysite/administrator will bring you to the Administrator login page. You can unpublish the Administrator link on your site and still get to the Administrator login this way.
------------------------------------------------------------------------ Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=http://mysite/index.php?option=com_login&Itemid=124
">
<title>Login</title>
</head>
<body>
</body>
</html> |
Hi!
Had the same problem, now this code quoted actually contained the solution for me - been searching quite a while...
So if you want it to work - do not use just *index.php?option=com_login* as a link from image, text in footer etc. I've found out that you have to call an Item as well.
In my case the solution was to use the whole phrase as in the quote: *index.php?option=com_login&Itemid=124*. It is possible that you have to play around with the Itemid's (try different numbers, 12, 20, 154) 'til you're satisfied.
Cheers'n thanx!