Best way to centralize a WebPart

Marc-André Morin asked on January 17, 2019 21:16

Hello, I'm new to Kentico and I was wondering the best way to centralize a WebPart, for example, a breadcrumb.

I want to use the same breadcrumb instance with the same properties into almost every template and manage it at one place.

Right now, I drag the breadcrumb webpart into every template and configure it everytime, it kinda bother me hehe!

Thanks :)

Correct Answer

Peter Mogilnitski answered on January 17, 2019 21:21

Are you using master templates by any chance? You should put it in the master template and your other templates should inherit from master. Take a look at the inheritance topic

P.S. Here is another way of sharing data between master templates

0 votesVote for this answer Unmark Correct answer

Recent Answers


Marc-André Morin answered on January 17, 2019 23:06

Hello Peter, I'm using one Master Template withc include my header and my footer. A placeholder is between them. I've read the related question and I'll check for a solution tomorrow. I think I can figure this out. Thanks!

0 votesVote for this answer Mark as a Correct answer

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