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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Global form · 10 years ago

    Should be everything you need in the docs

  • Global form · 10 years ago

    @rhukster Do you have any examples how to conclude form from .md file. And how to conclude it by twig.Could you share these. I did not found good solutions.

  • Global form · 10 years ago

    It works beautifully! Grav doesn't cease to amaze me. Thank you so much for all the effort put into the best CMS I ever worked with!

  • Global form · 10 years ago

    BTW Forms 2.0 has been released with globally-accessible as well as multiple-forms-per-page.

  • Global form · 10 years ago

    Il was able to do something equivalent by adding an iframe in the template of the pages that need to include the form. The form template is stripped from the header and footer, and contains stricltly

  • Global form · 10 years ago

    I have some notes to improve forms plugin to allow for multiple forms per page and also to be able to include forms from other pages in current page. Needs some fundamental changes in how it works in

  • Global form · 10 years ago

    Oops. the code above should be if ($formPage && isset($formPage->header()->form)) ---

  • Global form · 10 years ago

    The form is displayed but its data is not saved because the form object doesn't exist in the current page. So the form plugin doesn't process, as in its code it only process if the header has a form o

  • Global form · 10 years ago

    Genius! I never even thought of that approach :)

  • Global form · 10 years ago

    Figured it out. I store the form in an unpublished page and get the form like this: {% set form = grav.page.find('/myform').header.form %} ---