changing URL to Admin pages

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
jdarby
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Thu Sep 25, 2008 2:21 pm

changing URL to Admin pages

Post by jdarby » Mon Dec 21, 2009 12:46 pm

We changed the URL to the admin dashboard of our site from /Admin to another directory. After doing this, I found a bug in the breadcrumb navigation in the product catalog. When a user hovers over one of the parent categories ("Standard Sizes" in the screenshot), it reverts back to the old address and goes to a 404 page (/Admin) because this dir no longer exists, how do I update it with the new directory?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: changing URL to Admin pages

Post by jmestep » Mon Dec 21, 2009 5:11 pm

Try changing it in the App_Code/NavigationHelper.cs

public static string GetAdminUrl(string path)
{
return "~/Admin/" + path;
}
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

jdarby
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Thu Sep 25, 2008 2:21 pm

Re: changing URL to Admin pages

Post by jdarby » Tue Dec 22, 2009 8:19 am

We had previously changed this file to our new URL. The breadcrumb nav in the admin is still being affected by something outside of that section of code in NavigationHelper.cs

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: changing URL to Admin pages

Post by jmestep » Tue Dec 22, 2009 3:24 pm

Admin/Breadcrumbs.sitemap ?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

jdarby
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Thu Sep 25, 2008 2:21 pm

Re: changing URL to Admin pages

Post by jdarby » Wed Dec 23, 2009 7:57 am

I looked in there as well. I don't see any reference to the old/default admin URL. All of the references have been changed to the new URL that we moved the Admin dashboard to.

Post Reply