This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Maybe I'm blind or on a completely misleading path:
I was thinking about how to access values from the backend settings and inject them into layouts. One example could be an overall site title that could be put into a layout's title meta tag (I know: the SEO Extension already accomplishes this) and/or a H1 on the homepage.
There is Laravel's Config::get but only to retrieve config values from files. And Plugins often have their own classes to read and write (their own!) settings.
My question is: is there a general API to access those settings?
If you want to set something like a website title, you'd probably be better off using the theme settings.
Check the docs for Developing Themes for more information.
Last updated
1-2 of 2