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

  • Displaying page media @2x · 8 years ago

    I have no experience with image densities myself, but have you read the docs about Responsive images?

  • Breadcrumbs not showing on a modular page · 8 years ago

    @marcocevoli I think you may forget about my post #4... Have a look at the top 'feature' module of the page you are having difficulties with. In the standard QOP skeleton it will be /user/pages/03.m

  • Replace long if/elseif/else with array search · 8 years ago

    Corrected a typo in the path where the user should copy quark.yaml to....

  • Replace long if/elseif/else with array search · 8 years ago

    You could add the 'icons' array inside '/user/themes/quark/quark.yaml', like: syndication_icons: twitter.com: twitter instagram.com : instagram github.com : github Have the user copy the file 'q

  • Replace long if/elseif/else with array search · 8 years ago

    I asked because I was under the impression that Twig would throw an error on a non-existing function. But it doesn't... Not even on xxxx()... Oh well... eventually your problem has been solved :-)

  • Replace long if/elseif/else with array search · 8 years ago

    @metbril: It looks like the PHP array_search() function is unavailable in Twig. Just curious... What made you think array_search() was unavailable before, and what makes it available right now?

  • Replace long if/elseif/else with array search · 8 years ago

    Although my example is working fine in my project, I couldn't find any mentioning of 'array_search()' in the Grav docs. But it does work (in my project)... So I guessed the docs were outdated :-) Foun

  • Breadcrumbs not showing on a modular page · 8 years ago

    What you could do as a quick-fix.... Copy /user/themes/quark-open-publishing/templates/modular.html.twig into /user/themes/mytheme/templates/ Copy {% include 'partials/breadcrumbs.html.twig' %} in ab

  • Find and get a page by its slug or path · 8 years ago

    @Amatiq Have a look at the docs about \Grav\Common\Page\Pages and Plugin Event Hooks In event, or after, onPagesInitialized, you could try the following two options: $pages = $this->grav['pages'];

  • Animated GIFs not showing at Quark blog list page · 8 years ago

    As @pfodo has already mentioned, one could copy /system/config/media.yaml to user/config and change the 'gif' settings. So, I did... types: ... gif: type: image thumb: media/thumb-gif.png