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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Hugh Barnes Veteran

Regular

Grav Forum Moderators

@hughbris · Joined 8 years ago · 577 posts · 12 topics · 127 reputation

Badges

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

Recent posts

  • REST API for pages · 8 years ago

    Man, this is now asked almost weekly and every thread has useful new info. I've never seen the API plugin @OleVik mentions in response, for example. I do think this should concept have a canonical hom

  • Which twig template · 8 years ago

    To find out, put code or markup in one that you know would be executed (e.g. not in an if block) if the template is used. I am pretty sure any plugin template is overridden by templates in your theme

  • The best way to provide site-wide data? · 8 years ago

    Apparently future versions of Grav (v2?) will have a feature called "content blocks" but there's nothing written about it, so not sure if that will be along the lines of what you are asking about.

  • The best way to provide site-wide data? · 8 years ago

    See also my answer to a similar question recently, where I store reusable components in subdirectories of pages/components and then the dreaded page.find()

  • How to remove label from form field · 8 years ago

    I'll add these to my (long) list of things to investigate: is label: false documented? what is causing the display of 0 when label is omitted? (theme or form plugin) should omitting the label propert

  • How to remove label from form field · 8 years ago

    This seems not to be documented: try label: false.

  • Update-safe overrides for forms fields twig templates? · 8 years ago

    Hi, put them in user/themes/<themename>/templates/forms/... and replicate the path structure you see in the default plugin templates. Are you using a child theme? If not, your theme will also be

  • Modular page anchor link field · 8 years ago

    Hi I did this some time ago and didn't end up using it, so had to dig to find it. Sorry it took so long. To create the anchor links in the template, I used an id property in the modular frontmatter. S

  • Error after submitting website's contact form · 8 years ago

    Oh well done, I was going to suggest using a real email address instead of "null" :)

  • Re-useable text/ markdown blocks - best practice? · 8 years ago

    Hi, you may also find this recent discussion relevant: /forum/general/reuse-blocks-of-content-on-different-pages-t521