Page 1 of 1
Wrong theme in 1 single page (EditCategory.aspx)
Posted: Fri Jun 12, 2009 10:16 am
by xuanvu
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.
Re: Wrong theme in 1 single page (EditCategory.aspx)
Posted: Fri Jun 12, 2009 10:29 am
by mazhar
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.
Re: Wrong theme in 1 single page (EditCategory.aspx)
Posted: Fri Jun 12, 2009 11:41 am
by xuanvu
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.
Re: Wrong theme in 1 single page (EditCategory.aspx)
Posted: Fri Jun 12, 2009 11:52 am
by Logan Rhodehamel
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.
Re: Wrong theme in 1 single page (EditCategory.aspx)
Posted: Fri Jun 12, 2009 12:31 pm
by xuanvu
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.
Re: Wrong theme in 1 single page (EditCategory.aspx)
Posted: Fri Jun 12, 2009 12:32 pm
by xuanvu
And yes, inherits from CommerceBuilder.Web.UI.AbleCommerceAdminPage solved the problem.
Thank you very much,
Kenny.