Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation

Badges

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

Recent posts

  • 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? ;-)

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

    @normawhite I have never used Quark but had a look at the README and code. The README.md says explicitly: The hero_image should point to an image file in the current page folder And also the code l

  • How to handle form request form in modal window with AJAX request · 8 years ago

    @Pavlo, For the \<form>, I use $this->grav['page']->slug() for the action attribute and add a hidden field with a name unique to my contactform. On submit of the form I check if the name o

  • Media url in multilingual site · 8 years ago

    @nix You have a few options as to where to store and how to fetch your images: Next to the page as you do now. page.media.images|first.url will return /user/pages/35.axismvndi/first-image.jpg. You co