How to use the variables of the CMS settings?
How to use the variables/parameters of the CMS settings?
Usage: $helper->s("category.parameter_name")
{{ $helper->s("global.page_top") }} or {{ $helper->s("page_top") }}
{{ $helper->s("global.site_name") }} or {{ $helper->s("site_name") }}
{{ $helper->s("template.frontend_dir") }} {{ $helper->s("template.frontend_language") }}
{{ $helper->s("file.middle_image_width") }}
{{ $helper->s("file.small_image_height") }}
It will look for the same parameter in config/laravel-cms.php if it can not find in the CMS settings cache file.
Return: It will return a string or an array or null if nothing found.
If the setting parameter value is a JSON data, it will be treated as an array. examples:
{{ $helper->s("system.reserved_slugs.search") }}
{{ $helper->s("plugin.page-tab-inquiry-form.blade_file") }}