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

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3185 posts · 17 topics · 1019 reputation

Badges

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

Recent posts

  • Is this normal block behavior in my template? · 7 years ago

    @pwr, This seems to be a question that's best resolved by getting a foundation on Twig itself. According to Twig: block ¶ Blocks are used for inheritance and act as placeholders and replacements at t

  • Markdown: paragraph on images · 7 years ago

    @prw, Because you requested some feedback... First some feedback on the plugin: Have a look at $this->mergeConfig($page), to merge the global config with the page-level config. This will allow yo

  • Gallery made with child pages · 7 years ago

    @kmk, You shared your intention and code, but what I'm missing is the problem you are facing... Here is some guesswork: If gallery is totally empty: Did you define a collection in the page in which

  • How can I delete a page folder programmatically (in plugin)? thoughts on cron jobs welcome · 7 years ago

    @Netzhexe, I'm pleased to hear you are content with the provided sample. No need to brush up my ego though, it is already as content as it could be... 😇

  • My project in Apache problem with migration to Apache · 7 years ago

    @amirghanbariir, First a kind request... Please consider formatting your code correctly using triple back-ticks (```) and adding the origin of the code. It saves me searching the source code of Grav

  • Where is the template? · 7 years ago

    @danulf, Have you already found/consulted the documentation at https://learn.getgrav.org/. It has a dedicated chapter on how to create Themes. As a newbe, you might consider to also read chapters 1 +

  • Instructions for using the Tribune Plugin · 7 years ago

    @GNUTechie, I agree the documentation might not look optimal. However, in defence of the author, to embed the plugin in a page not much more info is required. TL;DR: Not useful for modular pages. To g

  • Install in subdirectory but serve from web root · 7 years ago

    @waynedpj, Never tried it myself, but there is a document page on this: Change the site URL Not sure if you've already read that...

  • How can I delete a page folder programmatically (in plugin)? thoughts on cron jobs welcome · 7 years ago

    @Netzhexe, The question intrigued me, so I did some playing... Use-case: Cleanup expired events, without using cronjob and/or Admin plugin. To minimize the impact of deleting events (pages), it might

  • How do I get all pages of a certain type in PHP (in a plugin)? · 7 years ago

    @Netzhexe, It seems your code is a little off.. $pages = $this->grav['pages']; $collection = $pages->all()->ofType('event')->dateRange($myvar); This will select all pages of type 'event',