Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3127 posts · 12 topics · 1010 reputation
Badges
Recent posts
-
Why do html_lang and Language\getDefault() have different values?
· 8 years ago
TLDR: Why do html_lang and Language\getDefault() have different values? According the docs: html_lang: This will return the current active language if provided, else use the site.default_lang configu
-
Cheking if translation exists
· 8 years ago
TLDR: Based on some tests I noticed the following Is language supported: html_lang in config.system.languages.supported Is translation available: html_lang == grav.language.getLanguage Does string ha
-
Using templates, how to create sub-keys in the page frontmatter?
· 8 years ago
@domsson The following definition for fields in your blueprints/default.yaml will produce what you want: [form + tab definitions omited] fields: header.object.color: name: color type: text