Content Management

Singlefront includes a built-in content management system. This system is meant to allow end users to easily manage content without technical expertise. The content is stored in XML files and database tables to allow integration with other systems.

Types of content managed areas in Singlefront:

1.Content Pages: These are static content pages that can be created by logging into the storefront admin as a content editor. An example of this content type is the "About Us" page. Once the content page is created, it can be edited using a WYSIWYG editor
 
2.Message Blocks: These are static content areas that are designated in the ASP.NET code using a Message Block Control. The control is referenced in an XML file (Web\Data\Default\Config\MessageConfig.xml). You can use the storefront admin to edit content in these message blocks. The advantage of the message block is that it can be referenced in several pages (for example: you could create a message block to display the customer service phone number. This block can then be placed on different types of pages - the phone number will be displayed on all of these pages)

Steps to add a Custom Message Block to an ASP.NET Page

1: Add the control declaration
 

<%@ Register Src="CustomMessage.ascx" TagName="CustomMessage" TagPrefix="uc1" %>

 

2: Add an instance of the control. Note that the "messagekey" property corresponds to the referenced content in the Web\Data\Default\Config\MessageConfig.xml file. In the example below, the control will display the Footer Copyright.
 

<uc1:custommessage runat="server" messagekey="FooterCopyrightText"></uc1:custommessage>

 

 

 

Editing Content Pages using Admin

content_pages

Editing Message Block Content using Admin

content_messages

See Also:

Customizing Singlefront Pages

Customizing the Singlefront Theme