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.

Richard Hainsworth Member

@finanalyst · Joined 9 years ago · 96 posts · 30 topics · 9 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Correctly handling errors from custom form processes · 8 years ago

    I have written (and published) grav-plugin-sqlite and grav-plugin-sequential-form. Both work well, but not in combination when there is an error. For example, if a sequential-form is created in an seq

  • Accessing plugin events from Quark · 8 years ago

    I created a new Theme based on Quark using devtools called mgc. Theme works fine. In the simple generated file mgc.php I find the comment // Access plugin events in this class However, when I try the

  • Best practice for plugin dependencies · 8 years ago

    Thanks everyone. I missed the reference in Plugin Blueprints.

  • Best practice for plugin dependencies · 8 years ago

    I've written several plugins for shortcodes. All of them obviously depend on shortcode-core. However, when testing code I try to install the minimum number of plugins, and I forget to install shortcod

  • Which twig template · 8 years ago

    plugins, such as form, provide twig templates with the same name as templates provided by the theme, eg. forms/form.html.twig How do I find out, or work out, which template is applied? The Grav system

  • Relative path in twig · 8 years ago

    I admit, I don't completely understand the distinction between paths and routes, at least how to handle or generate them. Thank you for pointing me to filePathClean(), which led me to other functions

  • Relative path in twig · 8 years ago

    The aim is to add into the navigation bar an arbitrary route or the parent page url, the route being defined in the parent content file, eg., inner.md. (I am also using onpage_menu: true) I have a hea

  • Handling reset button · 8 years ago

    [SOLVED] After some research about html forms and looking at the form twig templates, my solution is Include a new button into the page form yaml, set the type to 'submit' set the attribute 'task' o

  • Handling reset button · 8 years ago

    I am writing a plugin to handle a sequential form, that is after pressing the Submit button, the user is redirected to the next page in a sequence, which in turn may contain form data. Everything work

  • Own Plugin (S3-Compatible) · 8 years ago

    @oliverbaehler a) OnFormProcessed is fired by the Form plugin, not by Grav core. So you have to have a form that is submitted. I do not see you submitting a form. b) Look at my published plugin 'persi