Summary
This article explains the steps involved in creating and registering custom pages for blog postings in Incentive.
Use custom pages when the default page types don’t fit your needs. For example when you need to structure user input in a specific way or when you want to present information from other systems.
Creating the control that renders the custom page
Please read the How to create a Custom page article for more information.
Registering the custom page
Open the file “\app_data\settings\custompage.xml” and add a new page element and specify the attributes defined in the article How to create a Custom page. The only difference is that you have to set the type attribute to blog to make the custom page visible for new blog postings.
Example:
<pages>
<page id="myblogpost" control="~/public/custompage/myblogpost.ascx" enable="1" type="blog">
<name lang="en" description="My custom blog post">My blog post</name>
<name lang="sv" description="Mitt anpassade blogginlägg">Mitt blogginlägg</name>
</page>
</pages>
Define where the custom page should be visible
When you have added the custom page to the custompage.xml the custom page is available when you edit your blog. All new blog postings will use the custom page that you select here.