I would usually create a special "SiteSettings" node and create tabs for the header, footer etc etc content that is site wide (some people like to put this content at the home node level but I think this is confusing for editors).
Not sure I understand what mean - you can do anything with the markup and create any number of document type properties.
If you want a series of footer links in a column then there are a hundred ways of doing this. Have you got a screen shot of what you're trying to achieve?
An easy solution would be to add the dynamic contents in a dictionary. That way a backoffice user will be able to change the contents whenever a change is required.
It's pretty great. I use it for most everything in Umbraco, including menus. If I were creating a footer menu that I planned to split into multiple, columns, I'd use an Archetype to define those columns.
Also, I'd have nested Archetype fieldsets that allow me to pick the content nodes to appear within each column. You can do things like create multiple fieldsets so the users has control over how to pick nodes.
For example, you could create a fieldset that allows a user to pick a node to serve as the ancestor node so all descendant nodes will automatically be added to that footer column. You might add a property to this fieldset to allow the user to exclude certain parts of the subtree of those descendants (e.g., maybe there are thousands of products and you don't want them all to show in the footer).
You could create another fieldset that allows the user to explicitly pick content nodes to appear in the footer. The sky is really the limit when it comes to Archetype.
Creating a Dynamic Footer?
How would I create a dynamic footer which shows in every page, but can easily be adjusted by other users?
Hi,
I would usually create a special "SiteSettings" node and create tabs for the header, footer etc etc content that is site wide (some people like to put this content at the home node level but I think this is confusing for editors).
Then in your master template get your siteSettings node by ID (you can find the ID from the Properties tab). Do you have a "master" (site wide) template as per the tutorial https://our.umbraco.org/documentation/Tutorials/Creating-Basic-Site/Creating-Master-Template-Part-1 ?
You can also find this node by razor searching methods but for a site settings node which doesn't change then I'd hardcode it for speed.
Then in your footer you can do something like (note mine has a dynamic year)
Hopefully you can see how to use that siteSettingsNodes to output your footer links or other content as required.
HTH
Steve
Hello Steve,
Thank you for replying to my question. However, I have a footer with multiple columns, how could I do this?
Not sure I understand what mean - you can do anything with the markup and create any number of document type properties.
If you want a series of footer links in a column then there are a hundred ways of doing this. Have you got a screen shot of what you're trying to achieve?
An easy solution would be to add the dynamic contents in a dictionary. That way a backoffice user will be able to change the contents whenever a change is required.
How would that work?
Depends on how exactly you want the user to be able to adjust the footer and how automated you want it to be. Have you heard of Archetype: https://our.umbraco.org/projects/backoffice-extensions/archetype/
It's pretty great. I use it for most everything in Umbraco, including menus. If I were creating a footer menu that I planned to split into multiple, columns, I'd use an Archetype to define those columns.
Also, I'd have nested Archetype fieldsets that allow me to pick the content nodes to appear within each column. You can do things like create multiple fieldsets so the users has control over how to pick nodes.
For example, you could create a fieldset that allows a user to pick a node to serve as the ancestor node so all descendant nodes will automatically be added to that footer column. You might add a property to this fieldset to allow the user to exclude certain parts of the subtree of those descendants (e.g., maybe there are thousands of products and you don't want them all to show in the footer).
You could create another fieldset that allows the user to explicitly pick content nodes to appear in the footer. The sky is really the limit when it comes to Archetype.
Hi Nicholas,
Thank you for mentioning this plugin! I think I can make something out of it, however my footer is currently like this:
How would I achieve this in Archetype? I am only wondering about the newsletter part though.
I actually did very similar here: https://www.oneoc.org/
Each column is a different type of Archetype fieldset. IIRC, they were: blog list, image, rich text, button.
For yours, you'd probably want to go with: link list column, newsletter column.
Archetype allows you to mix different types of fieldsets in one list.
Where/how can I use the link list?
Edit:
Made it like this
Thanks,
Kevin
is working on a reply...