Administration nop2.3 login page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 12 años
Hi,

In the nop website, I have seen a separate login page for admin.

http://admin-demo.nopcommerce.com/login?ReturnUrl=%2fadmin%2f

How can I redirect the admin to that page if he types www.mysite.com/admin in my website.

Thanks
Hace 12 años
It's not a separate login page. That's a standard login page (customized a bit)
Hace 12 años
where can i find the code for that?
Hace 12 años
liju.t wrote:
where can i find the code for that?


The Login View can be found Nop.Web>Views>Customer>Login.cshtml
Hace 12 años
but how to customize like in nop commerce?
Hace 12 años
liju.t wrote:
but how to customize like in nop commerce?


You cant customise login page using admin section , you have to hard code it manually, its up to you what changed you want to make , for design edit css for login page , for functionality modify the common controller .
Hace 12 años
But i want to customize the page only for admin. and for users it should remain the same
Hace 12 años
liju.t wrote:
But i want to customize the page only for admin. and for users it should remain the same

The Login page is same for both the users and administrators, if you want to add a different page for admin login , you need to create a separate view which is out of the box ,
Hace 12 años
Thank you guys,

You have provided a hell lot of things which helped me to do exactly like nop.

:):)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.