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.

Julien Member

@domsson · Joined 8 years ago · 35 posts · 14 topics · 0 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Get page object for modular page from PHP · 5 years ago

    I'm impressed by your knowledge of Grav and your dedication to help, pamtbaau. Thank you very much. Using the $form->getPage() approach is exactly what I tried today, but having the line in there w

  • Get page object for modular page from PHP · 5 years ago

    I tried to get the page from the form itself: public function onFormInitialized(Event $event) { $form = $event['form']; $page = $form->getPage(); /* ... */ } But this leads to: Return v

  • Get page object for modular page from PHP · 5 years ago

    I'm working on a plugin that dynamically adds some form inputs and form data to existing forms. These forms could also be on modular pages. I need to read the header data (frontmatter) of the pages th

  • Plugin-Design: how to best add custom data to a form? · 5 years ago

    That's super useful! I was experimenting with adding additional inputs via templates (using the HTML form attribute to associate them with the form), but that did not work at all. I was wondering what

  • Plugin-Design: how to best add custom data to a form? · 5 years ago

    Hey Karmalakas, thanks for your reply. All events are displayed on the same page. You can subscribe to one, two, any number of them. They all have a toggle that you can flip, in which case they will b

  • Plugin-Design: how to best add custom data to a form? · 5 years ago

    I'm trying to write a plugin for the following scenario: Via Admin, I want the user to be able to curate a list of events Each event has different fields, like title, data, location and many more Vis

  • Importing Blueprints broken with 1.7? · 5 years ago

    Thank you for your thorough investigation! I'm sure this will be of help to others, as well. I agree with your assessment and will therefore go with context: theme://blueprints.

  • Importing Blueprints broken with 1.7? · 5 years ago

    Hm, I hadn't seen (or forgot) about the late answers of that related issue. However, there are two things that strike me as odd about the solution proposed there: context: blueprints:// is exactly ho

  • Importing Blueprints broken with 1.7? · 5 years ago

    Sorry, should've mentioned that right away: nope, does not work with backwards compatibility turned on.

  • Importing Blueprints broken with 1.7? · 5 years ago

    @pamtbaau: upgrade docs Yeah, I saw that there is a stricter YAML parser now, hence my theory that Grav 1.6 (with the previous parser) ignored an issue that it doesn't ignore now. However, running th