Custom Pages & Theming

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
gdelorey@mitcs.com
Commander (CMDR)
Commander (CMDR)
Posts: 129
Joined: Thu Oct 19, 2006 5:33 pm

Custom Pages & Theming

Post by gdelorey@mitcs.com » Wed Jul 29, 2015 6:29 am

Hello -

We've developed a store locator that ties into the Affiliates functionality and created a new ASPX and codebehind page that sits inside a subfolder of the website. We are using the OneColumn.master page which inherits Base.master. However, the theme that is getting applied to that page is not the theme used for the rest of the website.

Do we have to configure something else to get the site theme to apply to custom ASPX pages? Or should we move our logic into a control and create the webpages in admin and pull in that control?

Thanks!
Greg

gdelorey@mitcs.com
Commander (CMDR)
Commander (CMDR)
Posts: 129
Joined: Thu Oct 19, 2006 5:33 pm

Re: Custom Pages & Theming

Post by gdelorey@mitcs.com » Wed Jul 29, 2015 10:02 am

Found the solution - in the web.config, there is a line that looks like this:

Code: Select all

<pages theme="Wireframe" enableEventValidation="false" validateRequest="false" clientIDMode="AutoID">
Simply change that to your theme and pages will now inherit the proper theme.

rmaweb
Commander (CMDR)
Commander (CMDR)
Posts: 118
Joined: Fri Sep 10, 2010 9:41 am

Re: Custom Pages & Theming

Post by rmaweb » Wed Jul 29, 2015 11:56 am

Hello Greg,

Also, if you want to change the theme on a specific aspx page, just add the Theme="" with you specified theme to the top of the page on the same line as where you declare that it inherits the layout page.
Ryan A.
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3

Post Reply