Badges
Self employed developer and web witch. Building tiny shiny websites with Grav since 2018 (also some bigger ones). Tech is political!
Recent posts
-
[SOLVED] How *exactly* do I make a new plugin installable via GPM?
· 7 years ago
I'm so sorry, I totally missed that step with adding an issue… I guess I was a little tired that night! Thank you for your help!
-
[SOLVED] How *exactly* do I make a new plugin installable via GPM?
· 7 years ago
So I've written a new plugin and I am now at a point where it's working as intended and can be released to the general public. I have read the article on Grav development in the official docs, but I s
-
[SOLVED] Define a callback function in a plugin
· 7 years ago
I got it to work! In case somebody else needs it, this is my solution: $content = preg_replace_callback('/([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})/', array(get_class($this), 'munge'), $conten
-
[SOLVED] Define a callback function in a plugin
· 7 years ago
I'm writing a little plugin that checks pages for plain text email addresses and turns them into javascript-encrypted mailto links. I have defined a function munge($address) and I'm using it with preg
-
[SOLVED] What is the GitHub ID when creating a new plugin?
· 7 years ago
Excellent, thank you! If I may make a suggestion, perhaps it would be helpful to change the prompt in devtools to "Your GitHub username" to avoid confusion. I did some research and found that I actual
-
[SOLVED] What is the GitHub ID when creating a new plugin?
· 7 years ago
So this may be a very simple question, but I still don't know what to put here. I'm creating a new plugin with devtools, and it's asking for a GitHub ID. Is that my user ID, or the repository's ID, or
-
cropResize does not work as expected for images in portrait format
· 7 years ago
I'm using the following code to list a bunch of articles with an image each. The image part is: {{ image.cropResize(300,300).html('','Foto','right dreh'~drehgrad) }} This works a treat for landscape s
-
More than 1 Site > Developing locally > A Local Multisite Use Case? Gotchas? Setup?
· 7 years ago
I have no answer to this (my guess is that you'll have to come up with your own custom solution, I've never seen a plugin or anything for the job), but I would also like to be able to do that! Some so
-
[solved] Page variable conflict (?) when including another page on a page
· 7 years ago
Hello Romarain, thank you so much for your reply! It helped me figure out what was wrong, and it was a simple thing really. First of all, I copied the with {'page': page.find('/extra', true)} bit from
-
[solved] Page variable conflict (?) when including another page on a page
· 7 years ago
I have a set of pages that use a specific template "example.html.twig". All the pages that use this template have a common section after their main content, but ONLY if a specific frontmatter variable