Page 'Edit Mode' .... Where are these stored?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
jhonrath
Ensign (ENS)
Ensign (ENS)
Posts: 14
Joined: Wed Nov 28, 2007 9:27 pm

Page 'Edit Mode' .... Where are these stored?

Post by jhonrath » Thu Apr 17, 2008 6:04 pm

I'm confused trying to figure out where something is stored.

If you log in as an administrator, and then browse the 'store' there is a drop down at the bottom.

If you change the mode to 'Edit Page' you can then modify the Active layout, or the contents of a layout part.

Where is thta information stored? The selections themselves? Is a file in the file system updated, or is the database updated?

I can't seem to find this answer and I apologize if it was already on the board, but I cannot find it.

Thanks!

User avatar
m_plugables
Commander (CMDR)
Commander (CMDR)
Posts: 149
Joined: Tue Mar 11, 2008 12:44 am
Contact:

Re: Page 'Edit Mode' .... Where are these stored?

Post by m_plugables » Fri Apr 18, 2008 1:41 am

The customized information is placed in the App_Data\Scriptlets\Custom folder.
This folder has same directory structure like the App_Data\Scriptlets\Default folder.
The Default folder contains the standard script lets bundled with AC7.
For every thing you edited like contents etc, the customized version will be placed under the Custom folder in same directory structure as in the Default folder
Image
Visit the links below to Download Plugins for your AC7 Store
http://www.plugables.com
http://blog.plugables.com

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

Re: Page 'Edit Mode' .... Where are these stored?

Post by AbleMods » Fri Apr 18, 2008 9:52 am

So where are the settings for the page itself stored? For example, if I set the "Content" dropdown to "Home Page", where is that information stored? Not the scriptlet "Home Page", but the fact the dropdown is set to "Home Page"....

I couldn't find anything in the tables, but it has to be stored somewhere. Wouldn't make sense to store it as file, so it's gotta be in the tables somewhere....... :?:
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

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Page 'Edit Mode' .... Where are these stored?

Post by Logan Rhodehamel » Fri Apr 18, 2008 10:15 am

To store that information we use an ASP.NET feature called "Personalization". If you are really interested in some details, this is an MSDN page on the subject:

http://msdn2.microsoft.com/en-us/library/z36h8be9.aspx

We have adapted the feature to our needs. The data itself is stored in ac_SharedPersonalization table. There is also a table called ac_UserPersonalization where user specific page data can be stored. In a future version, I expect to use this table to implement a preview feature so the admin can work on a page in a private context before actually publishing it.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

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

Re: Page 'Edit Mode' .... Where are these stored?

Post by AbleMods » Fri Apr 18, 2008 10:28 am

...wondered if that <binary data> storage was the mythical dragon I sought.
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

jhonrath
Ensign (ENS)
Ensign (ENS)
Posts: 14
Joined: Wed Nov 28, 2007 9:27 pm

Re: Page 'Edit Mode' .... Where are these stored?

Post by jhonrath » Sat Apr 19, 2008 10:36 pm

So, here is why I'm asking. We are making a very custom version of able for our clients.

And, as part of the build, we'll be doing a 'default' build. The reason for this, is we''ll have some custom data geared toward our customers, and we want all of the pages set up a very specific way, so I need to capture those particular settings, and implement them into the setup script.

If they are indeed in those tables, in that field that is binary data, is there a way I can capture that, and restore it in a setup script or someting?

Amd I overlooking someting?

I'll read that MSDN article to start off with!

Thanks!

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Page 'Edit Mode' .... Where are these stored?

Post by Logan Rhodehamel » Sun Apr 20, 2008 11:52 am

I believe you could export the data in the tables from ac_SharedPersonalization and then import it into the install of your choice. You will have to also bring over the related table ac_PersonalizationPaths. The tables for ac_UserPersonalization would mainly apply to the admin dashboard, and it's not as easily portable unless you also import the user accounts.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply