Best approach to creating global content

Tom Troughton asked on August 26, 2015 13:45

In a multi-site Kentico solution I want to define certain data that is available to all sites. Similar to custom settings, but more structured. Something like custom tables would work, if custom table data could be set to be global, but as far as I can tell all custom table data is site-specific.

A specific example is social sharing. I want a CMS admin to centrally set up a list of social networks (title, icon, URL etc.) globally. Each site will then be able to select a subset of these networks to populate a custom social sharing function.

So I'm wondering, what is the best approach to setting up global data. Would it require a custom module?

Correct Answer

Petar Kozjak answered on August 26, 2015 14:44


you can assign custom table to any site. In custom table settings on a side navigation there is options Sites, in here add sites that are needed.

We have used both options for global data like social sharing, default URLs... etc. We like more Settings because you can add categories and it can have some structure. Both ways are ok. I don't think you need custom module for this.

Here is how to add custom settings:

1 votesVote for this answer Unmark Correct answer

Recent Answers

Tom Troughton answered on August 26, 2015 15:35

You're quite right, I'd thought the data in custom tables was specific to each site even when the table is allowed for multiple sites. Just tested and you're right, the data are global. Thanks for the advice.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 27, 2015 02:59

Custom tables works although my vote is also for custom settings. You can set a global and then override for each site. This makes the most sense and as Petar stated it has categories and structure.

0 votesVote for this answer Mark as a Correct answer

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