Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
paul Member
@prw · Joined 7 years ago · 54 posts · 14 topics · 7 reputation
Badges
Recent posts
-
'reset: true' in form resets form data in thankyou page
· 6 years ago
I didn't read the docs carefully enough: By default, the form is not cleared after the submit. So if you don't have a display action and the user is sent back to the form page, it's still filled wi
-
'reset: true' in form resets form data in thankyou page
· 6 years ago
Like the title says, my contact form has the parameter process: reset: true This seems to prevent the submitted form data from showing in the thankyou page. Removing reset: true or setting to false
-
Markdown: paragraph on images
· 6 years ago
I answered my own questions and came up with the following: <?php namespace Grav\Plugin; use Grav\Common\Plugin; use RocketTheme\Toolbox\Event\Event; class UnwrapImagesPlugin extends Plugin {
-
Is this normal block behavior in my template?
· 6 years ago
btw, @pamtbaau sorry for wasting your time with a poorly thought out question!
-
Is this normal block behavior in my template?
· 6 years ago
Thank you for clarifying that. I understand better.
-
Is this normal block behavior in my template?
· 6 years ago
I'm a dummy. In the example I gave you, the javascript and css within their respective blocks actually stood for {% do assets.add('theme://js/bricklayer.min.js') %} and {% do assets.addCss('theme://cs
-
Markdown: paragraph on images
· 6 years ago
Ok, I've attempted to implement suggestions, and here is what I have so far: <?php namespace Grav\Plugin; use Grav\Common\Plugin; use RocketTheme\Toolbox\Event\Event; class UnwrapImagesPlugin ex
-
Is this normal block behavior in my template?
· 6 years ago
@pamtbaau, thanks! @pamtbaau: Blocks are not needed if the page is not inherited. This means, the ‘block’ tags in template ‘pagebuild.html.twig’ serve no use and could be left out. The content of the
-
Markdown: paragraph on images
· 6 years ago
Thanks @TheDancingCode. I'll reimplement regex.
-
Is this normal block behavior in my template?
· 6 years ago
@pamtbaau, thanks very much for taking the time to look into this with me. You've pretty much understood my setup. I'll produce below the exact relevant trees and code (abbreviated to only what's nece