Administration nop2.3 login page

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


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