Ron Wardenier Regular
@bleutzinn · Joined 9 years ago · 252 posts · 14 topics · 75 reputation
Badges
Recent posts
-
Content security policy
· 6 years ago
Inline Javascript is still possible or allowed by signing it, see https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html#refactoring-inline-code Multiple inline script
-
Form loading issues
· 6 years ago
There must be something else which is preventing normal Form behaviour. You could disable non essential plugins (other than Login, Forms, Problems and Admin if you're using the Admin plugin). Does the
-
Blog stops loading posts on page 3
· 6 years ago
Since pagination from page 4 and onwards does work correctly I assume there is something wrong with one of the articles or posts which are shown on page 3. Maybe something strange that should not have
-
TableSort Plugin - Yaml Issue
· 6 years ago
Actually this is not very PHP language related. It's more about the difference between indexed or numeric arrays and associative arrays. PHP and YAML both support the two types. The problem lies in t
-
Pass value to thankyou page or email plugin
· 6 years ago
In general you can make any PHP variable in your plugin available as a Twig variable: $twig = $this->grav['twig']; $twig->twig_vars['filename_of_the_pdf'] = $filename_of_the_pdf; You can do this
-
Content security policy
· 6 years ago
Enabling and setting Security Headers is a general website security topic and as far as I can tell there's nothing Grav specific about it. I did learn a lot by reading Scott Helme's blog articles. Usi
-
Pass value to thankyou page or email plugin
· 6 years ago
Hi @jenspepie, Welcome to the Grav forum! All form values are available as Twig variables in the thankyou page. All you need to do is set Twig processing to enabled in the frontmatter of the thankyou
-
TableSort Plugin - Yaml Issue
· 6 years ago
Great that you solved this. I'm inclined to regard it as a bug. Would you consider this a bug or a feature?
-
Routing taxonomy urls
· 6 years ago
Setting a Regex based route like: routes: '/(.*):(.*)': /$1/$2 should work but it doesn't. It could be caused by Grav using a colon in "Grav style" URL parameters, for example my-page/query:somethin
-
Putting twig into a form
· 6 years ago
By using the Form Prefiller Plugin you can set a frontmatter variable like this: today_date_label: 'Today is {{ now|date(''M d Y'') }}' (note there are no double quotes!) and change the form field int