pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3134 posts · 12 topics · 1013 reputation
Badges
Recent posts
-
Order collection by 'custom' or 'manual' in Twig
· 4 years ago
@Markus, The order_manual refers to the variable in the frontmatter of the page: --- content: items: [email protected] order_manual: - subfolder_a - subfolder_c - subfolder_b --- From th
-
Is there a way to store all emails sent?
· 4 years ago
@dan-james, That option totally slipped my mind.... @ozfiddler, Sorry for suggesting to create a custom plugin...
-
Order collection by 'custom' or 'manual' in Twig
· 4 years ago
@Markus, You're close, but 'custom' expects an array like in the yaml example in the docs... Try: {% set options = { items: { '@page.children': '/footer' }, order: {
-
Why can't I access PHP session data from theme PHP file?
· 4 years ago
@thisisready, Cross-posting the same question on multiple forums a few minutes apart is not really considerate to other people's time spend... ...keep in mind that this is not generally in the intere
-
Disabling git-sync when developing
· 4 years ago
@nolan, Please ping back any interesting info you get on Github.
-
Disabling git-sync when developing
· 4 years ago
@nolan, Hum, I'm not sure what the impact is of --dev on other configs. Alternatively, the Scheduler uses config file config/plugins/scheduler.yaml to load custom jobs. See code line 75 $saved_jobs =
-
Disabling git-sync when developing
· 4 years ago
@nolan, Running help shows there is an --env parameter. So, it seems you should be able to start Grav using a different environment. $ bin/grav scheduler --help Description: Run the Grav Scheduler.
-
Is there a way to store all emails sent?
· 4 years ago
@ozfiddler, Unfortunately I don’t have access to command line. I'm afraid the Admin route won't help. You can't create a plugin from within Admin. Even if you could, how would you then edit the PHP
-
Is there a way to store all emails sent?
· 4 years ago
@ozfiddler, Try: $ bin/gpm install devtools $ bin/plugin devtools new-plugin This will setup a basic functional plugin, which is approx. 75% of the code needed...
-
Is there a way to store all emails sent?
· 4 years ago
@ozfiddler, If you take a quick look at the code of the Email plugin, you can see there are 2 options when creating a custom plugin: Add event handler for event 'onFormProcessed' and, like the Email