Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

pamtbaau Legend

Grav Forum Moderators

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

Badges

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

Recent posts

  • A way to determine all content types available for a "template"? · 3 years ago

    @hughbris, I'm not suggesting to use the plugin, but you'll need the templates anyway. Why not just copy all three of them form the Feeds plugin into you theme? I suspect, your RSS, Atom and JSON form

  • A way to determine all content types available for a "template"? · 3 years ago

    @hughbris, Is it too hard to copy and alter all three templates from the Feed plugin? They are all approx. 40 lines of code.

  • Error "User is not set" · 3 years ago

    @hughbris, I can only find a reference to 'User is not set' and class AbstractTransportFactory inside directory /vendor of the Email plugin. But you'll probably have found that out already... And I ha

  • Error on first run After Composer install. Undefined Constant · 3 years ago

    @mikejones3, The issue also suggests... it seems that clearing OPcache by restarting PHP-FPM, which I randomly thought of, actually did the job.

  • Workaround for using 'validate.required' on form file fields · 3 years ago

    @bleutzinn: I guess the secret in why the Twig way didn’t work for me and did for you is {% block input_attributes %} The problem is that variables in Twig are only accessible in their scope. Tags li

  • Problem with inherited theme · 3 years ago

    @bjaz, Since your issue has been solved, it might be a kind gesture to the developer of the plugin to close the issue you created at Github...

  • Blog and translations · 3 years ago

    @KlaasHDec, Have you had a chance to read the docs? Especially about content_fallback in section Language Configuration?

  • Error on first run After Composer install. Undefined Constant · 3 years ago

    @Karmalakas, I assume installing via Composer will not install required plugins. That's an incorrect assumption... After running $ composer create-project getgrav/grav ./site-tmp, Grav is installed

  • Use Markdown in twig template · 3 years ago

    @Jerry, Try filter |markdown instead of |markdown_to_html See https://learn.getgrav.org/17/themes/twig-tags-filters-functions/filters#markdown Note: I'm not a fan of using Twig containing Markdown. I

  • Workaround for using 'validate.required' on form file fields · 3 years ago

    @bleutzinn, Three alternatives: 1. Using Twig When searching for datasets in the template folder of the Form plugin, I find a reference inside user/plugins/form/templates/forms/default/field.html.twig