Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Creating a Food Menu from external Data - How?
· 10 years ago
Hello Folks, i am currently working on the Website of a small Restaurant. My Site is based on Grav and the Gravstrap plugin. I want to create a browsable Food Menu that gathers Data from external Ex
-
Test if a plugin is enabled with a plugin name like my-plugin-name
· 10 years ago
@Perlkönig that's it thanks for your help
-
Test if a plugin is enabled with a plugin name like my-plugin-name
· 10 years ago
That's because Twig doesn't allow hyphens in variable names like that. You need to do {% if config.plugins['my-plugin-name'].enabled %}. It's not super obvious, but the Twig docs do mention this in th
-
Test if a plugin is enabled with a plugin name like my-plugin-name
· 10 years ago
hi everyone ! I'm trying to test if a plugin is enabled, it's super easy just check config.plugins array, but it doesn't work with a plugin name with more than two words separated with a dash like my-
-
Allowed memory size
· 10 years ago
If there are many or large images, consider bypassing the default Gregwar and PHP caching mechanisms and do it yourself, for example with Node and Gulp.
-
Allowed memory size
· 10 years ago
my mistake. thx for help!
-
Allowed memory size
· 10 years ago
If you search the forum for "gregwar," similar discussions will appear. TLDR, make sure you have enough memory allocated. Image resizing, for example, is very memory intensive.
-
Allowed memory size
· 10 years ago
Whoops\Exception\ErrorException thrown with message "Allowed memory size of 134217728 bytes exhausted (tried to allocate 2164801 bytes)" Stacktrace: 0 Whoops\Exception\ErrorException in /home/d/.../pu
-
Using git to manage content added via Admin panel?
· 10 years ago
what kind of best practice would you recommend to do this currently? Im using ssh to git pull latest changes onto the productuion server from a master branch (hosted on Github). I could also manually
-
Using git to manage content added via Admin panel?
· 10 years ago
Not really. Those are just standard got commands that work with Grav as is. It's not any special plugin for stamic. Nothing interesting there :)