Badges
Self employed developer and web witch. Building tiny shiny websites with Grav since 2018 (also some bigger ones). Tech is political!
Recent posts
-
Config-default@: grav.user.email does not work for email field in frontend form
· 6 years ago
Yeah no :-) since I want to show the logged in user's email. I tried though, and site.author.email does work as expected. So why not with grav.user.email? user.email doesn't work either…
-
Config-default@: grav.user.email does not work for email field in frontend form
· 6 years ago
I have a frontend form with an email field, and I would like to prefill it with the user's email address. {{ dump(grav.user.email) }} gives me the address, but putting it in the form doesn't return an
-
How to show a defined form from PHP
· 6 years ago
Ah, I did not make myself clear. But I solved it by myself! :-) This is my page markdown (feels super inelegant, but I'm pressed for time and nobody has admin access apart from me): [some text content
-
How do I modify the confirmation message after form submit?
· 6 years ago
Oh, you totally did! I was just too busy coding to reply straight away ;-) and I'll look at that code as soon as I'm done with this super urgent thing. Thanks for the tip!
-
How to show a defined form from PHP
· 6 years ago
I have a plugin with some custom logic of what to display on a page, and I would like to show a form which I have defined for that page given a certain condition. Basically, how do I do this twig bit
-
How do I modify the confirmation message after form submit?
· 6 years ago
@pamtbaau, once again, you've come to save my day! :-D That did exactly what I wanted. I did dump the form object, but to be honest, I did not and still do not see how I could have known from its outp
-
How do I modify the confirmation message after form submit?
· 6 years ago
Hmm, sure, I could. Doesn't make a difference in this case since it's definitely a German only project. But I don't see how that would change my problem with altering the message AFTER the form has be
-
How do I modify the confirmation message after form submit?
· 6 years ago
Hello everybody, I have a simple form that saves a single radio button choice. This gets written to a file, and a success message is displayed. However, just in case something goes wrong, I would like
-
Tags and flex objects: no auto-complete? how do I best organise the tags? no tag cloud?
· 6 years ago
Hey there, thanks for chiming in! I would just like to say that for one thing, that particular project has been scrapped, and also I am super busy right now after moving house, so I'm going to try to
-
Change dateformat in German
· 6 years ago
Hey there, for my plugin Simple Events I did it directly in the template, to make the date format very customisable. I put my own example for a German date configuration in the template comments. You