Settings how and why? #57
Replies: 4 comments
-
Personally I house my settings in a node either called Global Settings or Site Settings. This traditionally lives in a single site, at root (the same level as home), or in a multi site setup, under the container but again at the same level as home, outside of the routable area. I would then, using an interface, create either a Html Helper or ViewPage method to access these in a typed way.
This could then be accessed in the View like this:
In the backoffice it looks like this (This example is a multi site, but it's similar for a single site): |
Beta Was this translation helpful? Give feedback.
-
These days I follow the following structure -> Site Root (this contains site specific settings such as google tag manager settings, navigation, common social media handles etc) -> Global Settings (This acts as a repository node for things like categories and widgets if needed) Site root contains a picker that also points to the global settings node, so you could have multiple global settings for common groups of sites if you wanted. |
Beta Was this translation helpful? Give feedback.
-
Our current favorite is a Settings node at the root. That allows us to have sub-nodes if necessary to break things out (typically curated navigation or other "lookup" type settings). |
Beta Was this translation helpful? Give feedback.
-
Settings can contain so much different stuff. Our typical setup uses a nested content property in which you can add the settings needed. It's all nice and clean and don't take much space in content. On the site rootnode we have a a nested content setting for global stuff. On any other page we have page specific nested content settings. |
Beta Was this translation helpful? Give feedback.
-
Hey,
Just wanna start the convo on settings (properties / nodes)... you know stuff that lives in the content tree, related to global stuff in the site...
How do you do this? Just group/tabs on your level 1 root doc... or move it around in a different node(that isn't rendered but only used for these settings)
Beta Was this translation helpful? Give feedback.
All reactions