Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
fosil Member
@fosil · Joined 8 years ago · 13 posts · 4 topics · 0 reputation
Badges
Recent posts
-
Hacked website title
· 4 years ago
My compromised site: Grav 1.7.28 + admin 1.10.28 - quite current. In which version is the danger really eliminated?
-
Form: dynamic form action URL
· 7 years ago
So unfortunately ... It didn't turn out to be the ideal solution. Finally, I really overloaded the template form.html.twig. At the same time, I wrote a issue on the form plugin github to respect the v
-
Form: dynamic form action URL
· 7 years ago
Yes, that's the solution. I tried in my template (extended from forms / form.html.twig) just overide the embed_form_core block (that would be much more elegant than having the entire code of that orig
-
Form: dynamic form action URL
· 7 years ago
ad 3) Here you can use a redirect with the specified form value. https://learn.getgrav.org/16/forms/forms/reference-form-actions#redirect In the template then something like this: {% extends 'forms/fo
-
Form: dynamic form action URL
· 7 years ago
Hello I need to dynamically set the action URL of the form. 1) Can I set to insert query string or uri.params automatically? 2) I tried twig in action in the form definition but it will not be done 3)
-
Acces page.raw_route in template?
· 7 years ago
It would also be interesting to consider the possibility of integrating a debug library from NetteFramework - https://tracy.nette.org/en/
-
Acces page.raw_route in template?
· 7 years ago
I created it. Thank you for your help
-
Acces page.raw_route in template?
· 7 years ago
Exactly! Ideally, the dump would be able to indicate the properties and methods (in the twig syntax it doesn't really matter) that can be reached from the twig. Similar to a PHP dump, it shows public
-
Acces page.raw_route in template?
· 7 years ago
Yes, that's exactly it! Thanks for showing the way. This is a confusing dump view, because "raw_route" is marked # as well as other properties that can be displayed in the template (eg route, slug, ..
-
Acces page.raw_route in template?
· 7 years ago
Hello When I call a dump(page) in template, I see raw_route, but when I try to {{ page.raw_route }} or dump(page.raw_route) it shows null. Am I making a mistake somewhere?