Skip to content
Grav 2.0 is officially stable. Read the announcement →

Ron Wardenier Regular

@bleutzinn · Joined 9 years ago · 252 posts · 14 topics · 75 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Get count of post according to value in frontmatter · 6 years ago

    If count is a variable in the frontmatter of your page like: count: 3 then using that variable in your page requires the use of Twig on that page. To enable Twig processing of the page Markdown you ne

  • Add the text "no posts found" in archives · 6 years ago

    Editing Twig template files is done outside of Grav by using a text or code editor of your choosing.

  • Add the text "no posts found" in archives · 6 years ago

    @pamtbaau, thanks for your correction.

  • Failed to save file error · 6 years ago

    Yes I think so. (This text is just to pass the minimum post length of 20 characters.)

  • Failed to save file error · 6 years ago

    Did you try the "fix permissions script" which is in the doc page I mentioned: chown -R joeblow:staff . find . -type f -exec chmod 664 {} \; find ./bin -type f -exec chmod 775 {} \; find . -type d -ex

  • Failed to save file error · 6 years ago

    It must be something wrong on your server side. Please take a look at Grav file permissions in the troubleshooting section of the docs.

  • Add the text "no posts found" in archives · 6 years ago

    You are using an assignment instead of a conditional statement. Small typo, big effect 🙂 Simply change {% if items = 0 %} into {% if items == 0 %}

  • Form plugin : how to dynamically initialize form value depending on header data from a plugin · 6 years ago

    There is a very elegant Grav-way of initialising form fields with data in frontmatter by using the Form Plugin method setAllData(). It's a well kept secret. On the other hand, the how-to is in this fo

  • Page Media only accepts Images · 6 years ago

    At what point in time was this screenshot taken? A file of type MP4 does show up like you posted after uploading but before saving the page. After saving the page the file will show like this in the m

  • 2FA doesn't show QR code · 6 years ago

    Yes it's one of the unintended secrets. Every page in the Grav documentation has a "Edit" button on the top. This takes you to the page in the grav-learn repository on GitHub. It's the source of the G