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

  • Create new folder when submitting form · 3 years ago

    @hughbris, As far as I know, Twig is only interpreted in the 'process' section of the form and not in the 'field' section. @douxdoux-1312, unfortunately, you haven't been able yet to respond to @hugbr

  • Access to collection elements using a numerical index · 3 years ago

    A collection is not indexed by int, but by string (path of page). An alternative to Collection::toExtendedArray() could be: {% set collection1 = page.collection %} {% set paths1 = collection1.toArray|

  • Keep getting an error when trying to save a file · 3 years ago

    @hughbris, Forget what I said before, the rabbit hole is deeper than I thought... It seems functions like mkdir and others, have been wrapped (never knew that was even possible) by Grav. I just assum

  • Keep getting an error when trying to save a file · 3 years ago

    @hughbris, I wonder if this has ever worked... See feature request Allow streams in file field widget #119 and the merged commit. Using the $locator, the destination in the form is tested whether it i

  • Hide navigation from Form template · 3 years ago

    @PurpleRoom, You can't remove the navigation from the form template, because the navigation is part of the partials/base.html.twig template.,, ;-) What you can do in base.html.twig, is surrounding the

  • How to add a table that a client can easily edit · 3 years ago

    @Gibney, I guess you could use a Page blueprint with a List field. When saving the page in Admin, the "table" will be inserted into the frontmatter of the page. Using a plugin, you could capture the

  • General Asset Configuration · 3 years ago

    @topidesta, More interesting than the generated output of Asset Manager, would be, IMHO, its input... How do you add assets? How do you render assets? What are your asset settings in system.yaml? Wha

  • Populate a selectize field with taxonomy options · 3 years ago

    @nix, I think the field definition isn't correct. Have a look at the example for the Selectize field in the docs. Pay attention to how the options attribute is indended below selectize. The data-optio

  • Set Category and Tag (Taxonomies) as required · 3 years ago

    @nix, This topic has already been closed/solved. Please open a new topic with a proper title describing your specific problem and add a reference in the content of the topic to this topic for context.

  • Highlights theme displays image tag code on small screens · 3 years ago

    @hsweet, By default Twig escapes everything. For every output {{ ... }} that might contain HTML (or javascript) and can be regarded as safe, the raw filter should be used. In your example the raw filt