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.

Forms & Blueprints

User-defined key/value pairs in Admin

Solved by Dzibus Allmighty View solution

Started by Apokaliptis 8 years ago · 3 replies · 646 views
8 years ago

Hi, I'm trying to make a simple way for my customer to make a spec sheet that is converted to an HTML5 definition list for a product page I made. The way I'm planning to achieve this is by adding a field in the admin panel that lets them create a key/value pair list that I can pull from in my product page template to generate the HTML. Is there a better approach to doing this than creating a plugin function?

last edited 10/03/18 by Apokaliptis
8 years ago

Yes, it is this kind of feature I'm looking for. That should allow me to add the feature I'm looking for. Thank you very much!

P.s. Sorry if my question was confusing. I'm new to Grav and am still learning how it all works.

8 years ago

It wasn't confusing, I was just making sure I didn't miss something.

Glad I could help.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 5 years ago
13 1144 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 63 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 138 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 114 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 132 7 months ago