I am using a VERY customized (and not by me) Able Commerce installation. The Category.aspx page has Layout = "Two Column" where "Two Column.htm" is defined in App_Data\Scriplets\Custom to show a two-column layout. It used to be "Layout = "Three Column" and used a corresponding "Three Column.htm" in App_Data\Scriptlets\Custom.
Now, despite restarting IIS, clearing cache, etc., the Three column layout is still used. Can someone please tell me what I'm missing? I thought Layout picked up the layout from the App_Data\Scriplets\Custom directory, but this does not seem to be the case.
TIA,
Judy
Layout Directive ignored
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 40
- Joined: Wed Oct 01, 2008 10:10 am
Re: Layout Directive ignored
Go to desired page on store side, click edit option at bottom and then change its layout to desired. You can also revert the changes to default by going to Administration > Website > Customized Pages.
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 40
- Joined: Wed Oct 01, 2008 10:10 am
Re: Layout Directive ignored
Thank you, Master Yoda!
That worked, but now my question is why it will work in this fashion, but not when I edit the aspx page and change to Layout attribute.
That worked, but now my question is why it will work in this fashion, but not when I edit the aspx page and change to Layout attribute.
Re: Layout Directive ignored
Its because that once you change something via front end edit support it also makes a setting entry in database for that page. If some page has already some entry in database then if you change it in front end still the database get priority over it. I think that would be your case. First go to Administration > Website > Customized Pages and make sure page in not modified then if you update aspx page it will effect the layout.
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 40
- Joined: Wed Oct 01, 2008 10:10 am
Re: Layout Directive ignored
Thank you. I appreciate all your help.