Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
p Member
@pikim · Joined 3 years ago · 33 posts · 8 topics · 4 reputation
Badges
Recent posts
-
Map-marker-leaflet and GPX tracks
· 1 year ago
I was able to get it working with the other assets plugin. In the end it looks similar to this. --- title: Maps cache_enable: false --- # San Fransisco Transport {assets:css order:5} http://cdn.leafle
-
Map-marker-leaflet and GPX tracks
· 1 year ago
Hi, I recently added the map-marker-leaflet plugin and embedding it and adding markers worked out of the box. Now I'd like to add a GPX track. Therefore I tried to go the way described in https://gith
-
Submit form data by email. How to make new lines?
· 3 years ago
Solved by using abc.html.twig instead of abc.txt.twig.
-
Submit form data by email. How to make new lines?
· 3 years ago
I'm writing form data into a file and an email by using the following twig: {%- macro render_field(form, fields, scope) %} {%- import _self as self %} {%- for index, field in fields %} {%- set sho
-
Iterate over all files in Twig, not just media
· 3 years ago
With an entry like that mkv: type: file thumb: media/thumb-mkv.png mime: video/x-matroska in media.yaml it works now. type: video doesn't work.
-
Iterate over all files in Twig, not just media
· 3 years ago
{{ dump(page.media) }} shows me #path: "/home/www/test/user/pages/randompath" #images: [] #videos: [] #audios: [] #files: array:3 [ "wappen-1.svg" => Grav\Common\Page\Medium\VectorIm
-
Iterate over all files in Twig, not just media
· 3 years ago
@Karmalakas Unfortunately page.media.all doesn't work.
-
Iterate over all files in Twig, not just media
· 3 years ago
I have a template that lists media files of a directory in a table and allow downloading them this way. Up to now I just used it for pdf documents and it worked quite well. Now I want to extend this t
-
Filtered author taxonomy does not work if it is defined in the page header
· 3 years ago
OK, now I understand your issue. As far as I know .../author:Ana only works when the author is defined as taxonomy, but not when it's simply in the header.
-
Filtered author taxonomy does not work if it is defined in the page header
· 3 years ago
@pmoreno In site.yaml you just define the types of taxonomies you like to use. And in item.md you define the taxonomy value for exactly that page. E.g. I have in a similar use case: Add desired taxono