Administration nop2.3 login page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 anni tempo fa
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
12 anni tempo fa
It's not a separate login page. That's a standard login page (customized a bit)
12 anni tempo fa
where can i find the code for that?
12 anni tempo fa
liju.t wrote:
where can i find the code for that?


The Login View can be found Nop.Web>Views>Customer>Login.cshtml
12 anni tempo fa
but how to customize like in nop commerce?
12 anni tempo fa
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 .
12 anni tempo fa
But i want to customize the page only for admin. and for users it should remain the same
12 anni tempo fa
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 ,
12 anni tempo fa
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.