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

  • Plugins and caching · 8 years ago

    @Perlkonig Your plugin is using grav-plugin-shortcode-core to process the shortcode embedded in the page. Inside your GChartShortcode::process() function you call addInlineJS to add Google's charting

  • How to avoid double submit validation for the ajax contact form? · 8 years ago

    @Pavlo In the following solution, you can submit a form, return to the same page with a "Thank you!" message above a cleared form and submit again. Steps I've taken: I used your provided code to cre

  • Themeing taxonomy pages · 8 years ago

    @dcrobertson Yes, my examples were changing the appearance of the page containing a certain tag itself. If you want to change the page that lists the pages with a certain tag and the tag is provided b

  • Themeing taxonomy pages · 8 years ago

    @dcrobertson In your Twig template, you can get the taxonomy assigned to a page using: page.header.taxonomy.mytag Based on that variable you could do al sorts or things to change the layout/style of

  • How to avoid double submit validation for the ajax contact form? · 8 years ago

    @pavlo, Not knowing the code and its configuration options, it is hard to tell... I see a nonce is being used in this form which will probably be tested on submission to prevent resubmission of the sa

  • Plugin fails ever and ever again · 8 years ago

    @Niels It makes me curious about which docs you followed step by step. Would you mind sharing the url?

  • Trouble creating a new theme on MAMP on iMAC · 8 years ago

    @normawhite I don't know the root cause of your issue, but to get you going in the meantime, you might want to have a look at the tutorial Theme Inheritance. Inheriting a theme by hand is really, rea

  • How to test equality of two images · 8 years ago

    Try the following: {% if raw_url == image.url %}

  • How to reference hero image in the images file · 8 years ago

    @normawhite If you make changes, don't forget to read about Theme inheritance. If you make changes in Quark itself, your changes will be overridden when installing a new release of Quark.

  • Don't display errors / warnings in production · 8 years ago

    Or maybe fix the exceptions thrown? ;-)