9 years ago
Topic

Hello everyone,

I'm trying to make a restaurant menu, I've come quite a long way SEBLOD is excellent.  What I now need to know is how to group items, for example starters.  So every menu has a dropdown which has starters, mains, desserts.  How can I group these items together on the display?

I think I have to use group but I'm not sure how it works, can anyone point me to a tutorial, page in the manual, or provide me an answer?

Cheers muchly,

Eoin

Get a Book for SEBLOD
572 Posts
_jrmo
9 years ago
2
Level 1

Hi Eoin,

If you have all of these in a Simple Select field, you can add in the following in between your options:

Starters=optgroup

Mains=optgroup

Desserts=optgroup

This will separate your items in your select list.

Cheers,

James

9 years ago
1
Level 2

Thanks for trying to help, I really appreciate it.  I've done as you said, perhaps I have done it incorrectly.  I have a simple select field.  I'm not sure what you mean "inbetween the select fields".  I've put the values you stated, but now the select box cannot be clicked on.  It appears and the values seem correct, but you can't click on them at all.

I have now tried to do this again, I was able to get the option box working again by putting quotes around optgroup.  That has not solved my problem, all of the articles still appear together.  They are all in the same category (the name of the menu), I need them to be subcategorised by starter, mains, desserts.  What is the best way to acheive this?

I have managed to group my items by using a simple select, and by using list search ordering.  What I now would like to do is to put each different option on a new row.  Is that possible?  Is there a way to say only include items from this option?

9 years ago
0
Level 3

I had to create a search type for each item.  Starter, Main, Dessert.  This was not ideal, I will look for a better solution.  Once I created it I added the dropdown option to List/Search > Search Form.  Then pressed 2 (live variable) and type in the option I wanted to show.

Get a VIP membership