Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Web Part Settings View modes: 
User avatar
Member
Member
positivepurchasing - 6/6/2013 6:01:47 AM
   
Web Part Settings
Hi,

Is there a way to reuse a page template but have different settings for the web parts contained in the page template?

Cheers
Paul

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 6/6/2013 6:17:55 AM
   
RE:Web Part Settings
Hi,

The point of templates is to preserve exactly the same settings across all the documents that use them. Therefore what you are asking goes directly against their functionality. However you have several options you could consider:

Create a copy of the template, assign it to a document and modify the web part properties. You can either clone the template in CMS Site Manager -> Development -> Page templates, or create ad-hoc copy for a single document in the CMS Desk -> Content -> Edit -> Properties -> Template.

Other solution could be to use widgets, for which you can define a default layout and properties in Style tab and modify them for each document in Page tab. However, you should be aware of limitations of using widgets.

Regards,
Josef Dvorak

User avatar
Member
Member
positivepurchasing - 6/20/2013 3:48:10 AM
   
RE:Web Part Settings
Hi,

Thanks all for your replies.

A bit of a shame nothing is simple in Kentico.

Cheers
Paul.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 6/6/2013 7:22:44 AM
   
RE:Web Part Settings
I'm assuming by "settings" you mean setting the properties of a web part. If so, use macros. If you can't find a macro within the system, make you own.

User avatar
Member
Member
Swainy - 6/6/2013 9:52:45 AM
   
RE:Web Part Settings
Hi Paul,

You could create a template and then use widget areas which allow the user to specify their own properties for the widget (widget is just a web part which can be added into the editable regions and you can also expose the properties to the user if you wish).

Might be worth looking at this as well.

Thanks,

Matt