Filling Bootstrap modals with toStructure

I’m working on an restaurant site with a couple of diner menu carts for burger, cocktails and so on.
These carts should live in Bootstrap modals to open and close those menu cards easily from different pages.

I’m right know a little bit stuck on how to start with the simplest solution on Kirby.

My plan is to share the same modal structure for all menu carts. So should I use a snippet or a template?

Then it should be possible to add more entries like burger type, price, size from the kirpy panel using the toStructure method.
Therefore I need a invisible folder on the content, right?

Any suggestions how to start would be very appreciated!

I suggest you look into Content Representations.

1 Like