Create my own display page

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
User avatar
freedom1029
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 35
Joined: Thu Nov 01, 2007 1:40 pm
Location: Montreal

Create my own display page

Post by freedom1029 » Wed Nov 07, 2007 12:28 pm

I am new to AbleCommerce so my question my be very simple or even stupid. Is there a way to make my own category, product and webpage Display Page so that it would appear in the drop down selection in the admin section of the Themes and Display Pages > Default Display Pages section?

If not is there a way to modify an existing one and apply it to my entire site?

Thanks,
Eric

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Post by sohaib » Wed Nov 07, 2007 5:26 pm

Its very simple.
All you need to do is to add appropriate comment at the top of page you want to be shown in the drop down list.

For example if you have a new category display page named MyCategoryDisplayPage.aspx, you need to add the following comment somewhere at the top of this file

Code: Select all

<%-- 
<DisplayPage>
    <Name>My Category Display Page</Name>
    <NodeType>Category</NodeType>
    <Description>A category page that displays categories the way I like.</Description>
</DisplayPage>
--%>

Post Reply