Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Duplicating web parts/zones View modes: 
User avatar
Member
Member
mercer-starrtincup - 12/16/2009 3:07:36 PM
   
Duplicating web parts/zones
I can't find the documentation on this anywhere...

I've got a site setup where the home page has a different template than all the inner pages. However, I have a web part that is on all pages. How can I add this same web part to all the pages without creating it twice.

The goal is to have a web part (or zone with web part) that I update once in either template, and it updates the web part in the other template too.

Is this possible?

Thanks.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/17/2009 1:45:11 AM
   
RE:Duplicating web parts/zones
Hi,

Have you tried to put that web part on master page? In this case it will be shared on all other pages, which will inherit from this master page.

Or, you can create something like master page, but on level under, where you will place this web part on the document, and the home and all other pages will be under it and inherit from this parent with this web part.


In general, there is no way hot to set the templates to share the web part settings. You can create a custom control in which you can implement this, of you can set the properties of the web part directly in the code files, so they will be shared anywhere.

Best Regards,
Juraj Ondrus