Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have 3 or 4 umbraco sites that are the exact same, code-wise, but different in content, logos, images, etc..
So, every time I have to make a change, I have to do it 4 times.
I have finally decided that its time to get this into one Umbraco Multi-Site instance.
I'm sure more things will come up, but I am trying start from the beginning.
The first common change for each of these is the site Logo.
Now, obviously, the Site Logo is the same for every page in that site. So I don't want to have to set the Logo Image property for every content page in each site.
So, my question, is How can I set a value of a parameter to the "root" content page of a site and have that value cascade down to all the other pages without setting it again and again?
Thanks in advance for your help
You could make a global settings node in the root of the node tree and reference that node from your template.
You could get the settings node like this:
var rootSettings = CurrentPage.AncestorsOrSelf("globalSettings").First();
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted