Sign In

Tips and Tricks: 3. Page template reduction - Multiple placeholders

This tip is a must have when developing websites in Kentico's portal engine.

Since version 5.5 it is possible to setup multiple placeholders in your page templates. Simply follow the two steps below:

1. On the parent page template (i.e. Master template) add a "Page placeholder" web part

placeholder.png

2. Add the following code in the child page template (i.e. Default template). Make sure the PagePlaceholderID matches with the Web part control ID of the Page placeholder from step 1.
<cms:CMSContent runat="server" id="cntContent" PagePlaceholderID="plcContent">
<cc1:CMSWebPartZone ID="zoneContent" runat="server" />
</cms:CMSContent>
For more information on this tip check out the excellent post by Kentico's CTO Martin Hejtmanek: Using multiple page placeholders in Portal engine
Posted: 21-09-2011 | 0 comments | Filed under: Tips and Tricks, Template, Page template reduction

Comments
Blog post currently doesn't have any comments.
Leave comment



 Security code

About me

Jeroen Furst 
  • Facebook
  • LinkedIn
  • RSS
  • Twitter

Kentico DevNet

IBL-Software

Sponsored links

Interview with Kentico

You have an old version of Adobe's Flash Player. Get the latest Flash player.
Kentico blogs and websites
Martin Hejtmanek - Kentico CTO
Thomas Robbins - Kentico product evangelist
Petr Vozak - Kentico team leader
Brian McKeiver - BizStream
Johnny Bubriski - Wakefly, Inc.
Bryan Soltis - Bit-Wizards
Kentico Developer - Reed Business Information
Kentico Solutions - Data, Inc.

My trees

Latest Kentico Knowledge Base Articles

Kentico Developer Posters

Kentico CMS 5.5 Macro Reference