Wrong theme in 1 single page (EditCategory.aspx)

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
xuanvu
Ensign (ENS)
Ensign (ENS)
Posts: 14
Joined: Mon Dec 22, 2008 1:17 pm

Wrong theme in 1 single page (EditCategory.aspx)

Post by xuanvu » Fri Jun 12, 2009 10:16 am

Hello,
I've customized some theme for the store and the admin section, everything work fine, except for 1 page: EditCategory.aspx. Each time I go to this page, it picks up the "AbleCommerceAdmin" theme? Any idea on where to change the theme on this single page?

Thanks.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Wrong theme in 1 single page (EditCategory.aspx)

Post by mazhar » Fri Jun 12, 2009 10:29 am

Login as admin and edit desired page from bottom and then check what is theme applied on that page and try to adjust it to correct one.

xuanvu
Ensign (ENS)
Ensign (ENS)
Posts: 14
Joined: Mon Dec 22, 2008 1:17 pm

Re: Wrong theme in 1 single page (EditCategory.aspx)

Post by xuanvu » Fri Jun 12, 2009 11:41 am

Well this is the admin section and there isn't an option to edit the page at the bottom like when I'm in the Store section.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Wrong theme in 1 single page (EditCategory.aspx)

Post by Logan Rhodehamel » Fri Jun 12, 2009 11:52 am

Is this a customized page? If it's a codebehind, make sure you inherit from CommerceBuilder.Web.UI.AbleCommerceAdminPage rather than System.Web.UI.Page. Otherwise the theme comes from the web.config.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

xuanvu
Ensign (ENS)
Ensign (ENS)
Posts: 14
Joined: Mon Dec 22, 2008 1:17 pm

Re: Wrong theme in 1 single page (EditCategory.aspx)

Post by xuanvu » Fri Jun 12, 2009 12:31 pm

No I didn't make any changes to this page, this is in the Admin/Catalog/EditCategory.aspx page, and yes the code behind seems to reference System.Web.UI.Page instead of the AbleCommerceAdminPage.

Thanks,
Kenny.

xuanvu
Ensign (ENS)
Ensign (ENS)
Posts: 14
Joined: Mon Dec 22, 2008 1:17 pm

Re: Wrong theme in 1 single page (EditCategory.aspx)

Post by xuanvu » Fri Jun 12, 2009 12:32 pm

And yes, inherits from CommerceBuilder.Web.UI.AbleCommerceAdminPage solved the problem.

Thank you very much,
Kenny.

Post Reply