Page 1 of 1

Where does AC store the scriptlet choices?

Posted: Tue Mar 29, 2011 11:13 am
by azar
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!

Re: Where does AC store the scriptlet choices?

Posted: Tue Mar 29, 2011 1:15 pm
by AbleMods
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.

Re: Where does AC store the scriptlet choices?

Posted: Tue Mar 29, 2011 3:43 pm
by azar
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.

Re: Where does AC store the scriptlet choices?

Posted: Tue Mar 29, 2011 5:55 pm
by AbleMods
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.

Re: Where does AC store the scriptlet choices?

Posted: Thu Mar 31, 2011 10:43 am
by azar
Thanks a lot! This answers my question