pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3196 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Cant upload YAML files upload in admin
· 2 years ago
@Grayches, I didnt want to go into detail about this issue as it was deviating from the original post so just answered your question. In your initial question you were focusing on a problem you enc
-
Cant upload YAML files upload in admin
· 2 years ago
@Grayches, Yes, a form definition cannot be shared using my suggested config file. However, also forms can be defined once globally and displayed in every page. Define a form in /user/pages/shared-fo
-
Cant upload YAML files upload in admin
· 2 years ago
@Grayches, If I dont include this the contact form at the bottom of each page doesnt load and/or I have to manually edit/copy a default .md I'm afraid I don't understand the issue when using a sing
-
Get objects (date field) from multiple pages (Twig)
· 2 years ago
@ValTOP, Did you try looping through the list of events? {% for event in child.header.dates %} {% if event.date|date("d.m.y") == "29.12.24" %} {{ 'process event' }} {% endif %} {% endfor %}
-
Cant upload YAML files upload in admin
· 2 years ago
@Grayches, I want the same frontmatter on each page You could simply... Create a single file frontmatter.yaml inside user/config, containing eg. description: This is my shared description And read
-
Get objects (date field) from multiple pages (Twig)
· 2 years ago
@ValTOP, Instead of making us trying to understand your blueprint, one or two sample frontmatters would so be much easier to grasp...
-
Get objects (date field) from multiple pages (Twig)
· 2 years ago
@ValTOP, Please show the frontmatter of the page containing the definition of the 'dates' variable. And dump the following values in Twig so you'll know what you are comparing with. Use: {{ event.h
-
Cant upload YAML files upload in admin
· 2 years ago
@Grayches, Just curious... Why are you taking this approach? Do you need to share frontmatter between pages? If not, wouldn't the field 'metadata' in Admin be enough?
-
Cant upload YAML files upload in admin
· 2 years ago
@Grayches, Try the following in /user/config/media.yaml: types: yaml: type: file thumb: media/thumb-yaml.png mime: application/octet-stream Don't ask me why... When searching the install
-
Looks like GRAV has better SEO than Wordpress :-)
· 2 years ago
@Alpha, And yet there is still room for improvement on other areas... <details> <summary>According to Lighthouse</summary> </details> Yes, I may be a party pooper... but it wa