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

pamtbaau Legend

Grav Forum Moderators

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

Badges

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

Recent posts

  • How to render a custom template in pre-existing theme · 3 years ago

    @piccolopi, Either I'm confused about your issue, or you are going into the wrong direction... 🙂 It seems you want to add/adapt one or more templates of an existing theme and/or want to add some c

  • Creating a modular page with the admin pannel · 3 years ago

    @veehem, Please provide more information to clarify the issue. Which theme are you using? What does your folder structure of /pages/ look like? Provide an image of the page that shows the menu with "

  • Creating a modular page with the admin pannel · 3 years ago

    @veehem, Do I have to create 01.page as a modular page Yes And sub_page 1, su_page2, sub_page3 as items ? No, these are blog items. If you want a Feature module, you create a module with template

  • Creating a modular page with the admin pannel · 3 years ago

    @veehem, Do I have to create page 01.home as a modular page and _callout, _feature, etc. as Feature or something else? Seems right... Have you tried to create the modular and its modules? What pro

  • How to render a custom template in pre-existing theme · 3 years ago

    @piccolopi, You should not disable caching of Twig. It is part of Grav's performance strategy to cache parsed Twig. What you should do is clearing the cache from the Dashboard in Admin, or run $ bin/g

  • 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