Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

How to use list field blueprint in a modular page

Started by Maxime Dunckert 4 years ago · 1 replies · 643 views
4 years ago

@FrosticZ,

But I can’t fetch the inputs that the admin gives in the form.

It is always a good idea to provide the following important information:

  • What have you tried? In your case you can think of:
    • The blueprint.md
    • The Twig file
    • The data in the page's header
  • What is the result?
  • What did you expect?

Now I can only advice to download the One-Page Site skeleton and take a look at the following files that implement a list field in a module:

  • /user/themes/quark/blueprints/modular/features.yaml
  • /user/themes/quesrk/templates/modular/features.html.twig
  • /user/pages/01.home/04._features/features.md

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Japhy, 2 weeks ago
2 284 5 days ago
Forms & Blueprints · by FrViPofm, 4 weeks ago
5 334 4 weeks ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2327 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 785 9 months ago
Forms & Blueprints · by Flachy Joe, 10 months ago
9 876 10 months ago