Page 1 of 1

Is there a document explaining the directories and files?

Posted: Thu Dec 18, 2008 1:56 pm
by RPavlik
Is there a document outlining where things reside in the AC directory? I'm specifically looking for a new product template I just made. I need to change the order of information shown. The viewer should see the description area before my fields for their input. If no document, where may I find my product templates?

Re: Is there a document explaining the directories and files?

Posted: Thu Dec 18, 2008 2:35 pm
by jmestep
If you modified the way things displayed using Content and Layout in the admin, those scriplets are stored in the App_Data/Scriplets/Custom/(sidebar, content, etc) folders. Able looks in that Custom folder first and if there is one there, it doesn't use the one in the default folders.

Re: Is there a document explaining the directories and files?

Posted: Thu Dec 18, 2008 3:40 pm
by RPavlik
I don't see anything in that directory/file that looks like it's connected with a product template. I made a product template from the Admin controls, going through Catalog --> Product Templates. I am working on a conference registration page. My user has to input a lot of information. If they scroll down, they see a list of our various price options and some other important info under Description. My goal is to bring Description higher on the page so it shows directly under the product image, name, and pricing options. I would then want my customer input fields to show AFTER the description.

Re: Is there a document explaining the directories and files?

Posted: Thu Dec 18, 2008 4:43 pm
by jmestep
That will be a little tricky. Moving the description up can be when you edit the Show Product 1 scriplet in the admin. Move this up:
[[ConLib:ProductDescription ShowCustomFields="true"]]

The template fields are part of the code in the ConLib/BuyProductDialog.ascx.
The options and the template fields are both displayed in the
<asp:PlaceHolder runat="server" id="phOptions" EnableViewState="false"></asp:PlaceHolder>
You would need to split your template fields out of that in the BuyProductDialog.ascx.cs
and assign them to a new <asp:PlaceHolder runat="server" id="phTemplates" or something like that.
put that placeholder where you want it on the page.