Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3203 posts · 17 topics · 1020 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Dark mode with JS script and → images / pictures · 4 years ago

    @medi, If you have a js script that runs when switching between dark/light theme, why not have js also search for <picture> and change its src attribute?

  • Inject value of form field into javascript of thankyou page · 4 years ago

    @sib, When I use your latest Twig snippet, it works fine... If you provide a step-by-step description to reproduce your situation, we might find something.

  • How can I set a canonical link to an external URL? · 4 years ago

    @amihoro, It appears this issue has already been raised before, but maybe too easily marked as being solved... Currently, when using routes.canonical together with {{ page.url(true, true) }} as used i

  • Automating website error checks · 4 years ago

    @hughbris, Not aware of any tool, but some approaches come to mind... Cronjob scanning Apache/Grav log files: Running a cronjob on the server that: checks apache's log and Gravs log file and sends

  • How to add custom Tab in page editor in Admin Panel? · 4 years ago

    @kairari, You'll need to create/update the blueprint for the page type at hand. In the blueprint, you can add a tab with your own field to add the buttons. Take a look at the blueprint for the "Blog I

  • Inject value of form field into javascript of thankyou page · 4 years ago

    @Karmalakas, Well I didn't know either, but I figured that if template formdata.html.twig can show the input data in the thankyou page, then any template can... Following the template, led me to line

  • Inject value of form field into javascript of thankyou page · 4 years ago

    @sib, Ok that means the values of the form are not being shown in the thankyou page. In that case you'll have to read the form data yourself: Steps: Create a copy of default.html.twig and rename it t

  • Inject value of form field into javascript of thankyou page · 4 years ago

    @sib, What template are you using for the thankyou page? To recap: You want to catch the value from the email field <input name="data[email]" value="" type="email" class="form-input " required

  • Inject value of form field into javascript of thankyou page · 4 years ago

    @sib, Based on the given information, I can only say "It depends" and give some generic suggestions. "It depends" on information like: Are you submitting the form synchronous or asynchronous? When do

  • Object layout 'delete' not found · 4 years ago

    @edbr, Please help the community help you by providing succinct and accurate information that makes the context of the issue perfectly clear. Preferably, you provide a step-by-step description of: Wh