Host-level settings

Topics: Customizing Orchard, Writing modules
Apr 13, 2011 at 7:52 PM

I have a requirement to be able to create property lists: at the page level, at the site level, and at the host level (the parent of a set of sites).

Page level is easy: a content part that can be added to any page that can hold a dictionary of keys and values.

For the site level, too: it seems that in Orchard it is possible to add content parts at the site level, and my modules can use this to store settings to be used by the module across that site.

Is there any way to do something similar at the host level?  I just want to be able to keep some properties at the host level, such as a friendly name for the server.

If Orchard does not have a way of doing this, can someone give a suggestion on a way I might go about implementing such a feature?

Thanks in advance.