Badges
Self employed developer and web witch. Building tiny shiny websites with Grav since 2018 (also some bigger ones). Tech is political!
Recent posts
-
cropResize does not work as expected for images in portrait format
· 7 years ago
UGH so I finally figured it out – cropResize was working fine, just my CSS was messed up. I hadn't accounted for the standard img { width: 100%; }…
-
Where exactly do the statistics in Admin come from?
· 7 years ago
Hey everybody, can someone please explain how exactly Grav produces the statistics on the Admin dashboard? I thought that's what the session was for, but when I disable that, I still get the statistic
-
Custom form processing in Admin
· 7 years ago
I have now found that I can do quite a bit in onAdminSave – but no matter what, the file apparently gets uploaded before that event is even fired. Since some video files can be quite large, I'd rather
-
Custom form processing in Admin
· 7 years ago
I would like to do some custom form processing in an Admin form. I am not clear on what events to register or whether I have to enable something if admin (I've seen this in several places, not sure wh
-
Choose from YAML arrays by changing single YAML variable
· 7 years ago
Hello there Alice! I like your avatar ;-) Well, you could just leave out the choice bit and simply write {{ this.color }} or {{ that.color }}, depending on your choice. But I think you probably have a
-
How to create a Twig function from a third-party function?
· 7 years ago
Another little piece to the puzzle: I just discovered that this function cl_video_tag is actually NOT a class method, but a standalone function in a separate file in the library. So I imagine this sho
-
How to create a Twig function from a third-party function?
· 7 years ago
Well, I got it to work with the method declared in my own CloudinaryPlugin class! The mistake had been a lack of use Grav\Common\Twig\Twig; at the head of the php file. So "just testing this" gets ret
-
Exact steps to include third-party code with composer and as a git subtree so GPM will be able to install it
· 7 years ago
Sorry, I didn't make myself clear with that. In your blueprints.yaml for icalendar, the link to the README file is outdated. This is the one that gets pulled in the Grav plugins download section, so w
-
Exact steps to include third-party code with composer and as a git subtree so GPM will be able to install it
· 7 years ago
Hey there, thank you very much for your reply! (And icalendar looks to be super useful, will check that out properly soon!) By now I have come to a similar conclusion, and I also dug up some interesti
-
Exact steps to include third-party code with composer and as a git subtree so GPM will be able to install it
· 7 years ago
I cannot seem to include my composer-installable third-party library in my plugin so that GPM doesn't cough and spit it out again. I am not sure about what should come first – I shall outline my under