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

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3134 posts · 12 topics · 1012 reputation

Badges

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

Recent posts

  • Strip HTML from Form textarea field such as Email message · 6 years ago

    @squirrel, I can think of two avenues: Field validation using Regex: Add a validation to the field which will fail when its content contains an anchor. A simple example: validate: type: textarea patt

  • Set Page Frontmatter Variable via Form · 6 years ago

    @hoernerfranz, I wonder what the use-case is for this question.... Anyway, I could think of creating a plugin that responds to the form's onFormProcessed event, checks the user action defined for the

  • Taxonomy list returns nothing · 6 years ago

    @normawhite, Haven't been ably to replicate your issue... new_base_url: Don't worry about that, the value is only used to set the url of each category. It has no impact on the display of categories in

  • How can i add all images in a blog post using twig syntax? · 6 years ago

    @d3s1gn3r, See Twig documentation on the loop variable: Variable Description loop.index The current iteration of the loop. (1 indexed) loop.index0 The current iteration of the loop. (0 indexe

  • How can i add all images in a blog post using twig syntax? · 6 years ago

    @d3s1gn3r, To list all images in the folder of a page, try the following in your Twig template: {% for image in page.media.images %} {{ image.html }} {% endfor %}

  • Add readingtime to each blog item in blog list · 6 years ago

    @marcocevoli see my answer above...

  • Add readingtime to each blog item in blog list · 6 years ago

    @marcocevoli And where is snippet {{ page.content|readingtime }} ? If it is used in this template, it should probably be {{ child.content|readingtime }}

  • Add readingtime to each blog item in blog list · 6 years ago

    @marcocevoli, Do you mean something like the following, where each blog item in the blog list shows its own reading time? <pre> <br/> </pre> If so, you should add the the code sni

  • TNT Search results - how to keep them narrow · 6 years ago

    @dan-james, What part of true and false in the docs didn't you understand...? ;-) fuzzy: false phrases: true Btw. Still going for Shopify?

  • Where can i set the author url? · 6 years ago

    @d3s1gn3r, Not sure what 'author' you are referencing. Do you mean the author of the site, a theme, skeleton, plugin, a page? Site: There is an 'author' defined in the config of the site ('/user/confi