Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8912

Any way to make a page template inherit from another page template without the parent existing as a page in Kentico?

$
0
0
I have a generic page template that I wish to reuse for lots of pages, but each page also needs to have its own template within that. The generic page template might include a page banner and breadcrumbs for example.The way I'm currently doing this is having every page be an ad-hoc clone of the generic template, however, this isn't easily managed when changes need to be made to the generic template itself as I then need to make that change on all ad-hoc templates too.I could get around this by creating a new page that uses the generic template at the parent level and then nest all my pages under it, acting as a master page, but I feel like that's polluting the content tree unnecessarily as I already have a master template at the very root.Is there a way to make page templates inherit from other templates without actually creating a physical master page in the content tree?If it were possible to make specific webpart containers not shared to all pages that use the same template that would work too.

Viewing all articles
Browse latest Browse all 8912

Trending Articles