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

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

    @Netzhexe, First a few notes on your attempts: - $collection = new Collection(); This creates an empty collection, which means that all your samples based on '$collection' will return an empty colle

  • Question theme x-corporat · 7 years ago

    @marc63400 It's by design... The template 'templates/partials/base.html.twig' creates two different menus. The one that is displayed in larger screens loops through the root pages and their child p

  • URL for plain markdown · 7 years ago

    @Suplanus, When deleting/renaming '/CHANGELOG.md' from my site, the 'forbidden' error is gone and the url example.com/changelog.md shows the right content... Also, instead of defining a url extension,

  • URL for plain markdown · 7 years ago

    @Suplanus, When you use your own template, as I showed above, frontmatter will not be included in the output. I would feel hesitant to allow straight access to all *.md files. Not sure what the risks

  • URL for plain markdown · 7 years ago

    @Suplanus, I have found two alternatives but both not 100% fullfilling your requirements: Using the url example.com/changelog (without extension) Using an url with the extension '.md', but cannot use

  • Access the Taxonomy Filter in Twig · 7 years ago

    @clemens, Try uri instead of url {{ var_dump(uri.params) }} returns: '/tag:concert' {{ var_dump(uri.extractParams(uri, ':')) }} returns: array (size=2) 0 => string 'http://localhost' (length=16)

  • Taxonomy pages do not allow custom collections · 7 years ago

    @swimator, By default, Grav applies the url.params to collections. To alter this behaviour you can use option url_taxonomy_filters: boolean in your collection definition, or change the default in syst

  • Slideshow not working in Deliver theme · 7 years ago

    @sue, Did some research for you... TL;DR: Solution is at the bottom Downloaded the deliver skeleton Slider is working fine... Switched to fresh Grav installation, added theme Deliver and copied

  • Grav with Quark - Comments Plugin not loading · 7 years ago

    @zaphodbeeblebrox, Odd... Are you sure that the {% include 'partials/comments.html.twig' %} statement is reached? Would you mind adding the following to 'themes/quark/template/partials/blog-item.html.

  • Grav with Quark - Comments Plugin not loading · 7 years ago

    @zaphodbeeblebrox, A few notes: For some reason the template '/themes/quark/templates/partials/blog-item.html.twig' is testing whether the value of 'page.header.continue_link" is set to true. It ha