What is the best way to inherit the skinbase in a custom page that is placed inside a root subfolder? Do I need to modify skinbase.cs in the app folder or can I modify the code behind page? What would be the code?
Thanks,
Bill
What is the best way to inherit the skinbase in a custom page that is placed inside a root subfolder? Do I need to modify skinbase.cs in the app folder or can I modify the code behind page? What would be the code?
Thanks,
Bill
As long as the new page is part of the AspDotNetStorefront namespace you shouldn't have any issues at all inheriting skinbase in a subfolder.
- Dan
It doesn't work.....the site throws an error saying it kind find the file:
"/folder/skins/skin_1.template.ascx'
I basically made a copy of a working custom page and put it into a subfolder. Works in the root but not in the subfolder......
skin folders are relative, so to do this, you may have to adjust our skin file lookup code in skinbase.cs.
AspDotNetStorefront
Shopping Cart
You may need a copy your EntityHelper directory as well,
or adjust EntityHelper.cs to always look for this directory along the application root.
~ line 608
Code:string XslFilePath = CommonLogic.SafeMapPath("~/EntityHelper/" + XslFile + ".xslt");
Is there a way to inherit SkinBase but not be forced to use template.ascx?
MSX