Page 1 of 1

Add global content

Posted: Tue Oct 10, 2023 2:07 pm
by dbiber
Hello community,

I'm searching for a way on how to display the content of a specific node of the content database on all pages.

I want to have one content visible on all pages that could be edited by a user without having the need to have the "desginer" entitlement.

Thanks for your support.

BR, Dominik

Re: Add global content

Posted: Sun Oct 15, 2023 11:43 am
by DIGI3
There's a lot of ways to do this, but the one I like in this context is to add a content block to the home page (or page of your choice), in a tab called "Global" or similar. You can then do {page_attr page='home' key='my-global-block'} in your template to output it wherever you want.

There are also several modules and other options for handling it, but I find as users already know how to edit a content block this is the simplest.