Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Birger Krägelin Member

@bkraegelin · Joined 5 years ago · 13 posts · 2 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Plugin generating modular page · 5 years ago

    I just got the right inspiration - have it working. Solution: I have my own pages directory /user/plugin/my-plugin/pages with all pages and modules like written in the documentation. Every module is a

  • Plugin generating modular page · 5 years ago

    Sorry, this would not work. I'll explain: I run a (privately organised) cloud based service for email, webhosting and some predefined webservices with some hundreds of users of a closed community. Par

  • Plugin generating modular page · 5 years ago

    Just discoverd a minor glitch (or bug?) in /system/src/Grav/Common/Page/Page.php (see code from above line 2508). You find the same function activeChild() in /system/src/Grav/Common/Flex/Types/Pages/T

  • Plugin generating modular page · 5 years ago

    I did that. Instead of having my-plugin/pages/_module.md I have my-plugin/pages/_module/text.md according to the documentation of modular pages. If I change that to pages _module.md, I do not get the

  • Plugin generating modular page · 5 years ago

    Thanks for this snippet. Unfortunately it throws an error in /system/src/Grav/Common/Page/Page.php "Call to a member function root() on null" on line 2508 2499 $uri = Grav::instance()['uri']; 2500

  • Plugin generating modular page · 5 years ago

    I do not talk about templates, I talk about the page itself. I use standard templates only. My page (it's a replacement for /login/profile) does not get written to /user/pages, it's beneath /user/plug

  • Plugin generating modular page · 5 years ago

    Thanks for the feedback. But I'm afraid, this does not work as expected. If you create a normal page in /user/pages, this does work. That's the normal way to create pages. But if you add a plugin depe

  • Plugin generating modular page · 5 years ago

    I write a plugin which generates a login profile page the same way as the login plugin does. But it should work with a modular page. It registers the page using the same code $route = $this->config

  • Markdown on Modular Pages · 5 years ago

    The issue was caused by setting the config setting pages.twig_first to true. Reverting the setting back to its default value false solved the issue. This setting can be found in Admin, path /admin/con

  • Markdown on Modular Pages · 5 years ago

    Found: System configuration Process Twig First I have also set Process frontmatter Twig, I need that for my plugin. I have now to check, how to handle Twig/Markdown-processing correctly in my plugin.