lancetek
-
9/16/2013 8:23:42 AM
RE:Page specific web parts to a template web part zone
Josh, Please provide an example of what you'd like to be able to do. Kentico has a great templating mechanism and it's quite flexible, once you grok how to use it.
Page templates - layout and content will be inherited by *every* page that uses that template. However, the 'Editable Text' (and the other 'editable' web parts) have different content per page. Also macros and parameters of Webparts will be parsed and interpreted per page.
Use Case #1: I want to have ONE layout for all my Articles... but the Article content will change - so same header and footer, style and same widgets in the side navigation.
Use a template with a Repeater in it. Configure the Repeater to display the current Article's properties using a Transformation. Assign this template to all of my Article Documents. You can even assign this template by default to the Document Type 'Article', so that the editor doesn't have to choose it each time a new Article is created.
Use Case #2: I want to have a common template for all of my 'help' pages. This is similar to #1, but I don't want to create separate Documents, I just want to create 'Page (Menu Item)' Documents.
Create a help page template and use 'Editable Text' regions for the header and body of the page. Use this template when creating a new 'help' page. The Editable content will differ per page.
Advantage to both: Next year when you do a redesign (or you just want to move some widgets in the left navigation), you only have one template to modify.
I hope this helps, Lance
|