Hello there;
I've started developing a website for a restaurant with drupal.
So far so good I have contact forms, a complete worked out theme (based on zen theme), a photo album, etc...
All working wonderfull!
BUT!
They also want me to add the menu cards on the website.
My first idea was to add new content page and with use of FCKEditor to add table's with all the menu data inside.
But I believe this is really not done and unprofessional. (also doesn't make easy for editing by client afterwards)
All the menu's are always in the format of "Menu number" "Menu name" "Price"
Then it should bring this as a page to the public...
So what are my best options to realise this in a logical way? (without hacking the drupal cores)
A good (module) hint of tip for my problem will do!
tnx!
Comments
CCK and Views
One way to do it is to use a new CCK content type for an item on the menu. Include fields for whether its a breakfast, lunch or dinner item, and also if its a starter, main, or dessert item. Then, using Views, create a listing of that content type, sorting by meal type (or whatever sort you want). You could also add a Views Argument for meal type, and possibly a second argument for course type. Or use one argument and expose the course type as a filter so that people can sort by that.
By doing it this way, you have an easy interface for your client to edit each menu item, and have lots of flexibility for displaying the menu using Views.
______________________________________________________________________________________________________
mybesinformatik.com - Drupal website development
______________________________________________________________________________________________________
You can use Tablemanager but
You can use Tablemanager but it's pretty dev code for 6.x
Pobster
Second CCK, views would add Taxonomy
Hi,
I would agree with the CCK and views recipe. You can also use the core taxonomy system to categorize menu items into their different meal types.
Good luck!!
Ano1
I am trying to do something
I am trying to do something very similar and any help would be greatly appreciated. I have created three content types: Restaurant Menu, Restaurant Menu Section, and Restaurant Menu Item.
Restaurant Menu would include lunch, dinner, dessert, beer and wine, ...
Restaurant Menu Section would include a header and footer for describing the section. Sections would be like Starters, Salads, Chicken, Seafood, Pasta, ...
Restaurant Menu Items would be the actual dishes with description, price, picture, chef's recommendations, ...
What I want is for the url request to be something like /lunch and for the display to be like this
Menu Description
Menu section header1
All Menu items for section 1
Menu Section footer1
Menu section header2
All Menu items for section 2
Menu Section footer2
...
Menu Footer
I have a cck fields that are node references ( menu reference in section and both menu and section reference in item).
How can I get a view to pull the sections and then inside of the sections nest all of the items for that section?
_
You might be better off having one content type for menu items, then use a hierarchical taxonomy vocabulary for menu and menu section (with an eye toward possibly using the http://drupal.org/project/hierarchical_select module when it's ready for d6).
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
I too think
I too think views/cck/taxonomy would offer the most flexible option, but if anyone is intent on using tables, try the Table field module :)
http://drupal.org/project/tablefield
Thank you for keeping this
Thank you for keeping this invaluable year and a half old thread alive and well ;o)
Pobster