pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3134 posts · 12 topics · 1013 reputation
Badges
Recent posts
-
Need help with checkbox customization
· 4 years ago
@01K, @pamtbaau any thoughts/solutions for it? I don't believe I've received an order confirmation yet....
-
How to set lazy loading in Twig template
· 4 years ago
@pilot23, So far, not much information is provided accept for "without effect" or "without lazyload effect". When I add 300 images of 1200x800px to the bottom of page Typography (fresh Grav 1.7.30 ins
-
Moved my matomo code to a file instead of inline, grav.user.username does not work anymore
· 4 years ago
@Japhy, Alternatively, you could do: Create file /user/config/mtm.yaml containing: script: | var _mtm = _mtm || []; _mtm.push({'setUserId': '{{ grav.user.username }}', ... domain: https://domain.
-
Need help with checkbox customization
· 4 years ago
@01K, Changing the form definition is irrelevant. But the change probably caused a clearing of the cache which made the change to the template visible.
-
Moved my matomo code to a file instead of inline, grav.user.username does not work anymore
· 4 years ago
@Japhy, That script will not be parsed by Twig but instead added 'as-is'. Try {{ include(template_from_string(read_file('theme://js/mtm.js'))) }} See: https://learn.getgrav.org/17/themes/twig-tags-fi
-
Moved my matomo code to a file instead of inline, grav.user.username does not work anymore
· 4 years ago
@Japhy, You said: I have always had my mtm code inline but ... I thought it would be a good idea to move it to a file. What file? In which template is the file included?
-
Need help with checkbox customization
· 4 years ago
@01K, You're not really showing what changes you have made and what HTML has been generated. That means I cannot reproduce your case, and therefor I cannot see where anything might have gone wrong on
-
"Header Options" in Blog-Item with no effect
· 4 years ago
@idna, Did a quick search in Quarks templates, but nowhere is field header.header_image being referred, apart from the blueprint. So, I guess it is not being used (any longer)...
-
Need help with checkbox customization
· 4 years ago
@01K, Truly I’ve tried to override checkboxes.html.twig . I’ve copied the checkboxes.html.twig file into the child-theme\templates\forms\fields\checkboxes\checkboxes.html.twig but it seems that this
-
Grav Won't Let Me Access the Login Page
· 4 years ago
@heyheathermae, From the little information you've provided, I can only suggest to run: $ bin/gpm install form