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

Creating a Food Menu from external Data - How?

Started by Muut Archive 10 years ago · 4 replies · 596 views
10 years ago

Hello Folks, i am currently working on the Website of a small Restaurant.
My Site is based on Grav and the Gravstrap plugin.

I want to create a browsable Food Menu that gathers Data from external Excel Files, so i can format it with CSS.
Is that possible in Grav?

10 years ago

I'm sure someone mentioned an example of importing from Excel somewhere around here, but I can't locate it.

You would need a plugin to import data from these Excel files into a structured format (which presupposes that all the files follow a strict format by whoever makes them), after which you can treat it with PHP to output it into Grav. Depending on the complexity of these menus, you're most likely better off with menus written in YAML as that is already readable by Grav and easier to structure for users.

10 years ago

Thank you. Problem is that they need to be in table form, so Price Numbers line up properly. Is that Possible in Markdown?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2956 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago