Where does AC store the scriptlet choices?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
azar
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Sat Nov 27, 2010 11:43 am

Where does AC store the scriptlet choices?

Post by azar » Tue Mar 29, 2011 11:13 am

Hi all,

i logged in as admin and edited the homepage (default.aspx) to change active layout from "Three Column" to "Home Page".

when i check the default.aspx, it still has <cb:ScriptletPart ID="HomePage" runat="server" Layout="Three Column"...

but the page correctly shows the "Home Page" layout.

where does AC store the information about which scriptlets should be applied to each page?

Thanks!

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Where does AC store the scriptlet choices?

Post by AbleMods » Tue Mar 29, 2011 1:15 pm

You don't change the scriptlets there.

Log in as Admin, go back to your home page and then scroll to the bottom. In the bottom-left side you'll see a drop down that says Mode: "View Page". Change it to "Edit Page".

Now scroll to the bottom again and you'll see the settings you are expecting to find.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

azar
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Sat Nov 27, 2010 11:43 am

Re: Where does AC store the scriptlet choices?

Post by azar » Tue Mar 29, 2011 3:43 pm

That is what I did. logged in as admin, scrolled to the bottom, changed "view page" to "edit page" and changed the layout scriptlet to "Home Page".

This information (that the default.aspx is using "Home Page" scriptlet instead of "Three Column" scriptlet for its layout) should be stored somewhere right? I was guessing it should be in the default.aspx itself. but that is not the case. default.aspx still points to "Three Column" scriptlet.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Where does AC store the scriptlet choices?

Post by AbleMods » Tue Mar 29, 2011 5:55 pm

azar wrote:This information (that the default.aspx is using "Home Page" scriptlet instead of "Three Column" scriptlet for its layout) should be stored somewhere right? I was guessing it should be in the default.aspx itself. but that is not the case. default.aspx still points to "Three Column" scriptlet.
That is correct. The parameters specified in the page code itself are ignored unless no existing setting can be found in the database. AC7 handles all management of specific page settings internally. These page settings are stored in an encoded format in the ac_SharedPersonalizations table.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

azar
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Sat Nov 27, 2010 11:43 am

Re: Where does AC store the scriptlet choices?

Post by azar » Thu Mar 31, 2011 10:43 am

Thanks a lot! This answers my question

Post Reply