Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
M Member
@myscha · Joined 8 years ago · 30 posts · 10 topics · 2 reputation
Badges
Recent posts
-
"Automatically" reroute to subdirectory page?
· 3 years ago
I had a similar problem and solved it with a collection with source content: items: - '@page.children': '/path/to/source' instead of content: items: - '@self.children' I didn't
-
Theming good practice
· 4 years ago
Thanks for your suggestions. So, as conclusion: it's fine to include the styling for a specific theme inside the plugin. And then, copy and adapt that styling for other themes. sassmeister.com itself
-
Theming good practice
· 4 years ago
Hi, what is best practice regarding plugin themeing? Currently I'm trying to combine/integrate the events plugin and future2021 theme. Unfortunately the events plugin has much styling information in s
-
Create a guestbook in [Agency]
· 4 years ago
It seems that this issue has been solved or isn't important any more. But as it's one of the first search results for 'grav guestbook', I wanted to add that integration of the guestbook plugin is quit
-
How to add nested twig attributes?
· 4 years ago
I want to integrate the guestbook plugin into future2021 theme and render the existing guestbook entries as blog-items. blog_item.html.twig accesses the attribute page.header.continue_link. I'd like t
-
Is it possible to change plugin config programmatically?
· 4 years ago
Finally I found the solution: I must use the $event argument to get the new value. E.g. $event['object']["icalendar_update"].
-
Is it possible to change plugin config programmatically?
· 4 years ago
After a long time I took up the work on this feature again. In general I can change and save a setting in the 'onAdminAfterSave'. public function onAdminAfterSave(Event $event) { $this->grav['c
-
How to debug using dump and xdebug?
· 4 years ago
I assume you use a/some VScode plugin/s, can you tell which one/s for PHP?
-
How to debug using dump and xdebug?
· 4 years ago
@hughbris: use the other debugger “clockwork” - I understand that it’s much better (you’d need to use $this->grav['debugger']->addMessage($myvariable) from PHP) public function onAdminAfter
-
How to debug using dump and xdebug?
· 4 years ago
Thank you very much for that hint. When I add die(); I can see the dump. It's not very comfortable, but it will help. What about logging variable contents to log file or debugbar? The documentation di