Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Reg Page templates in Portal Engine View modes: 
User avatar
Certified Developer 12
Certified Developer 12
chetan2309-gmail - 7/3/2013 5:40:15 AM
   
Reg Page templates in Portal Engine
Hi All,

At the end of my project I ran into peculiar problem. Let me explain the structure of my website.

-Default
- About Us
- Locations
- Contact us

So it has a default page which is home page. Under which we have About Us, Locations and Contact us page.


The common things among all pages are header footer and js/css. So I created master template and then derived 3 more templates out of it and saved them as new master templates since nothing else was common among pages.

The drawback of this problem is there were more than one instances during development when it was required for me to change "Navigation bar" that is common on all pages. Since all my templates were now individual master templates I had to make changes individually.

Now my client is saying that my understanding of Page templates is wrong!! Please correct me if I am wrong.

Secondly, is there are any faster way to overcome this as I need to deliver project in next 24 hours maximum?

AFAIK, what I did was conceptually correct.

Please suggest

Thanks in Advance
Chetan

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 7/3/2013 7:17:07 AM
   
RE:Reg Page templates in Portal Engine
You can design/develop your pages/templates however you wish, keep that in mind.

A more common approach assuming you have the same overall look and feel (header, nav, footer) on all the pages would be to create one master page at the root of the site and use visual inheritance on the rest of the page templates. This way all your pages (about, contact, locations, etc) will reflect changes to the nav, header, footer, etc when you make them in one place.

Regarding overcoming this, I suggest:
- setting your root as a master page
- any other page templates you have marked as master page uncheck and set visual inheritance to root
- review other page templates and inherit parent pages as needed.

User avatar
Certified Developer 12
Certified Developer 12
chetan2309-gmail - 7/3/2013 7:57:17 AM
   
RE:Reg Page templates in Portal Engine
Thanks for the Reply Let me try this approach

Thanks in Anticipation,
Chetan

User avatar
Certified Developer 12
Certified Developer 12
chetan2309-gmail - 7/3/2013 8:25:48 AM
   
RE:Reg Page templates in Portal Engine
Hi FroggEye,

One quick question. If I disable a current template as a Master Template and inherit it from root. It does not show me the original content of page and show me only same content as root page. Now how I will add the page specific data as the page is no more editable?

User avatar
Certified Developer 12
Certified Developer 12
chetan2309-gmail - 7/3/2013 12:50:41 PM
   
RE:Reg Page templates in Portal Engine
Could you please elaborate this concept. It's my first Kentico implementation. Unable to grasp it in my current scenario.