Creating centralized web parts.

john martin asked on March 30, 2017 16:28

Is it possible to create a centralized web part to call from pages where ever needed, instead of creating web parts on every page?

Recent Answers


Rui Wang answered on March 30, 2017 17:14

John, what do mean create web parts on every page?

Are you talking about creating ad-hoc template for each page, and add web parts on them? You can certainly create re-usable template with web parts configured dynamically or with EditableText web part, so multiple pages can share the same template.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on March 30, 2017 17:34

You can manage this within your page templates specifically NOT the individual pages. If you use a master page template and nest other templates below it you can have these webparts managed pretty easy. It's more of a conceptual process than anything and really have to understand Kentico's templates and layouts to take advantage of it.

Here is a good documentation page showing how to inherit portal engine content using page templates.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.