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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • How do I prevent Grav from "compressing" my page media? · 9 years ago

    Turns out this compression is happening on the actual page, rather than via the admin panel. So what is actually compressing this image and increasing its size?

  • How do I prevent Grav from "compressing" my page media? · 9 years ago

    What I mean by this is, when I upload a JPG file to Grav via the page media drag and drop it's then using some really poor compression tool which is converting from a 386kb JPG to a 1.7mb PNG file!! H

  • Cannot redirect domain from without www to www · 9 years ago

    This question is Apache .htaccess specific, and is a bit specialized for this Grav chat.

  • Cannot redirect domain from without www to www · 9 years ago

    I added some lines into .htaccess like RewriteCond %{HTTP_HOST} ^domain.com$ [NC] RewriteRule ^(.*)$ https://www.domain.com/%{REQUEST_URI} [L,R=301] or RewriteCond %{HTTP_HOST} ^domain.com$ [NC] Rewri

  • How to use the :: syntax · 9 years ago

    update the docs with similar reference: https://learn.getgrav.org/content/collections#php-collections

  • How to use the :: syntax · 9 years ago

    Thanks Flavio. Success at last. For anyone else trying to re-order a collection programmatically in a Twig template, try this: {% set collection = page.evaluate([{'@page.children':'/crimebooks'}]) %}

  • How to use the :: syntax · 9 years ago

    Class::methiod is a short way to indicate a method inside a class. It's not a valid syntax to be used anywhere (except when the method is static). Actual usage depends on where you want to use it. In

  • How to use the :: syntax · 9 years ago

    In the docs it says here https://learn.getgrav.org/content/collections#programmatic-collections that "Collection::order($by, $dir, $manual) - Orders the current collection" I can't find a way to make

  • Running Grav on multiple servers with load balancer · 9 years ago

    You were right! Thanks!

  • Running Grav on multiple servers with load balancer · 9 years ago

    Yes this is the same issue. Grav will generate some files with random names with cache enabled, image processing, or assets pipelining. Sticky sessions will fix it.