Any Global config/environment variables
Unsolved
Technical Support
-
Hi, I m working on the global config vars. I couldn't find a way to set global value so I can use it in the template or custom theme templates. The only easy way to put something for templates is actually locale. but the problem is I have put the same value in all locale in order to work properly, otherwise, if someone uses a language in which I didn't set the locale, they won't see my required values.
Any easy way to put a config value in a file, and can use them on each template or even in the controller if possible. (template is priority)
Copyright © 2024 NodeBB | Contributors