Redirect to login page

Permalink
Hi,

On one of my websites, users need to log in to access a page. If they try to access it, the login page opens.

I have modified the static page login to add a menu to it. If I access it through the index.php/login, i see the menu but when I access it through an other page requesting the user to be logged in, I see the login page without the menu.

How can I change this ? Isn't it the index.php/login page that appears ?

Thanks in advance for the helpers

oncledave
 
oncledave replied on at Permalink Reply
oncledave
a little up.

Nobody has a little idea ?

Thanks
mkly replied on at Permalink Reply
mkly
The login page is rendered inline. Meaning it replaces the body of the page you were requesting. That's why the url at the top is the page you requested not the login page url.

Where did you add the login code? I mean where in the login.php file.
oncledave replied on at Permalink Reply
oncledave
Hi,

I did not add this in the code but I edited it in the login page.

Should I add the menu in the login.php ?