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

  • Using Symphony Forms Component with Grav · 10 years ago

    You need to expose those functions to Twig. For example see how the Comments plugin exposes the comments: https://github.com/getgrav/grav-plugin-comments/blob/develop/comments.php#L56-L64 or how Admin

  • Using Symphony Forms Component with Grav · 10 years ago

    It would be cool if we could use Symfony's forms component with Grav, in order to create more flexible forms. Right now, I'm just trying to get it to work in a theme, but in the future there will be a

  • Get current language issue · 10 years ago

    Yes it works correctly now. Thanks!

  • Get current language issue · 10 years ago

    You should use grav.language.getLanguage as it falls back to default if the "active language" information is not available. Does it work correctly in this case?

  • Get current language issue · 10 years ago

    When I use grav.language.getActive to check for the current language key it is empty, if default language is active and include_default_lang is set to false. Is this the intended behavior and if

  • Override defaults in cache.php · 10 years ago

    Currently there is no way to override these. However, improvements an be added to the core version by providing a Pull Request if the are generic enough to be of use for everyone.

  • Override defaults in cache.php · 10 years ago

    I'm not trying to prevent the caching of images, but to prevent the clearing of cached images on every cache-clear. My image cache is +1GB so I don't want to recreate all images on every cache-clear.

  • Override defaults in cache.php · 10 years ago

    It is an interesting thought, I would presume one of the event hooks could do it, though I am not familiar with the process. I would be interested in your results though, disabling the caching of imag

  • Override defaults in cache.php · 10 years ago

    Is there a way to override this in cache.php: protected static $standard_remove = [ 'cache://twig/', 'cache://doctrine/', 'cache://compiled/', 'cache://validated-', 'cache://images', 'asset://', ]; pr

  • Learn2 Page Nav Not Working Correctly · 10 years ago

    This is the correct answer :)