pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3131 posts · 12 topics · 1012 reputation
Badges
Recent posts
-
Admin Panel - Can users create or edit image.meta.yaml files?
· 6 years ago
@clivebeckett, Your plugin won't crash if there is no 'classes' folder. To preserve the 'classes' folder, a common practice is to add a '.gitkeep' file to it. The actual name doesn't matter, it is onl
-
Admin Panel - Can users create or edit image.meta.yaml files?
· 6 years ago
@clivebeckett, If I'm not mistaken, the function 'autoload' will only be called by Grav 1.7.x. When creating a plugin using Devtools it shows the following warning: Make sure to run composer update t
-
Admin Panel - Can users create or edit image.meta.yaml files?
· 6 years ago
@syntaxErrr, It's best to create an issue at the repository of the plugin. That will help the developer in managing, discussing and fixing issues...
-
Add the text "no posts found" in archives
· 6 years ago
@bleutzinn, 'items' is an array, so the correct syntax should be: {% if (items | length) == 0 %} ... {% endif %} The syntax {% if items = 0 %} would have thrown an error: 0 - Unexpected token "ope
-
Add the text "no posts found" in archives
· 6 years ago
@maria, Having taken a look at the Archives plugin, I get the impression that the array 'archives_data' only contains year/month combinations for which at least 1 item exist. That means that {% if (it
-
Form plugin : how to dynamically initialize form value depending on header data from a plugin
· 6 years ago
@randoum I would not use the second one though cause static functions are meant to be static. For my understanding, would you mind elaborating? As an alternative: public static function getDefault(
-
Is grav suitable for advance needs?
· 6 years ago
@randoum, Grav is build to be lean with a small, fast and efficient core. To keep it lean and fast, it depends on plugins for extended functionality. Plugins can be build upon and extend almost everyt
-
Form plugin : how to dynamically initialize form value depending on header data from a plugin
· 6 years ago
@randoum, Played a bit with your code... Having a page with the following header: --- title: Contact variables: name: My default value form: name: contact fields: name: la
-
How to automatically enable an override in a blueprint?
· 6 years ago
@prw, If not, it is at least a 'breaking change'... Please add an issue on https://github.com/getgrav/grav
-
Backoffice Custom action Controllers (from plugins ?)
· 6 years ago
@sherpadawan, Have you seen the documentation on Admin Event Hooks? Plugins for Admin are no different from plugins for front-end, they only subscribe to different events.