This article explains how to use the standard Intershop CMS to create a simple blog functionality.
Creating a New Blog Layout Page Template
To create a new blog layout page template, perform the following steps:
- Go to Content | Pages.
Create a New Content Page.
Do not assign a page variant yet. A special Page Template for this will be created in the next steps.
- Navigate to Content | Page Templates.
Here you need to create a New Page Template in order to be able to display a navigation sidebar for your blog entries later on.
- Click New and create a New Page Template based on Standard Page.
Click New in the Content slot to assign a header and a footer component to the corresponding slots and create a New Component Template for the blog entry navigation.
Use the Static Content Page Component as template.
It is important to create this as Component Template in order to be able to create Placeholders from the slots of the component later.
Select your recently created blog page as Navigation Root and enable the Show Navigation checkbox.In In the next step, a Placeholder from the Static Page Content slot of the Component Template needs to be created.
This configures the Component Template.
- Click Back to List.
Your page template should now look like this:
There should be a Header and a Footer, a Blog Navigation component and a second Content slot.
- Create another Placeholder for the empty Content slot.
Be sure to assign it to the Content slot.
Your Page Template is now prepared. You can now use it as template for the page variants that you want to use as entries for your blog.
Using the Blog Layout Page Template to Create a Page Variant
A page variant can be created by using the Blog Layout Page Template. To do so, perform the following steps:
- Go to Content | Pages and select your formerly created blog page.
- Click New, either on the Content or on the Page Variants tab.
- Create a New Page Variant by using your newly created Blog Layout Page Template.
Your Page Variant should have one Content slot.
You can use a Freestyle HTML component to fill your blog pages.
Creating Blog Entries
You can create new blog entries by creating Sub Pages for your blog page. To do so, perform the following steps:
- Go to Content | Pages.
- Click on your blog page.
- Navigate to the Sub Pages tab and click New.
Create a new Page of type Content Page and make sure that it uses your Blog Page as parent.
The Sub Pages will act as blog entries.
Now you just need to assign a Page Variant based on the Blog Layout Page Template to every blog entry. Your Entries will be listed in the navigation menu and your blog should look like this:
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.