Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Julien Member
@domsson · Joined 8 years ago · 35 posts · 14 topics · 0 reputation
Badges
Recent posts
-
Importing Blueprints broken with 1.7?
· 5 years ago
I've got a theme that makes use of imported blueprints. This is done by making a new tab in the parent blueprint, while the tab contents sit in a separate blueprint that is then imported. Example: blu
-
Plugins: vendor/autoload.php - it broke; why and best practice?
· 5 years ago
I see, thank you. I'm still puzzled why it worked up until now and suddenly threw an error, but this seems like the solution. I still have to try it, as I'm currently struggling with another issue tha
-
Plugins: vendor/autoload.php - it broke; why and best practice?
· 5 years ago
I've got a self-written plugin that came about by going through the Plugin Tutorial. One of the snippets of code that the base plugin structure already provides is this: public function autoload(): Cl
-
How to save form data and uploaded files into the same unique subdirectory?
· 6 years ago
Unfortunately, not yet. I've created an issue on Github in late 2018, with the latest reply from the Grav team in early 2019 stating that they might have an idea on how to implement this. However, eve
-
What's the right way to enable a plugin's blueprint?
· 6 years ago
I'm writing a plugin that comes with some partial blueprints. When I tried to import these in my theme's blueprints, nothing would show up in the admin. A quick search revealed that you first have to
-
Populate select field with function call (data-*@)
· 6 years ago
Thank you, @pamtbaau - that did the trick. To summarize, here is how it worked: Blueprint: data-options@: '\Grav\Plugin\FooPlugin::myStaticFunc' foo.php: public static function myStaticFunc() { re
-
Populate select field with function call (data-*@)
· 6 years ago
I'm trying to populate a select field in a blueprint with entries from a list field in a plugin configuration. Consider this excerpt of blueprint.yaml of plugin Foo: fields: bar: type: lis
-
JS assets don't get included if global cache is on
· 6 years ago
Thanks hughbris. I decided to unmark your reply as 'solution' for now, as I'm not yet sure whether what I'm seeing is an actual Grav bug or simply a config/template issue on my part. It seems like oth
-
JS assets don't get included if global cache is on
· 6 years ago
I'm seeing confusing behavior that I'm trying to figure out. Here is the rough scenario: I have a modular page template that adds a JS asset: {% do assets.addJs('theme://js/bar.js') %} Initially, eve
-
How to modify plugin behavior / how to extend plugin?
· 8 years ago
I need to modify the behavior of the forms plugin (so I can get the form data and the uploaded files to end up in the same, unique directory). How would I go about this? Can I extend a plugin? If so,