Hello all,
in the documentation you can read that:
...what is actualy my issue. Is there any way around?
This is what I would like to do:
There is an ice-cream cafe, which everyday changes its menu. One day there are such tastes of ice-creams avaliable, other day - different. I've created a "menu for today" page, where worker can thick today's menu items from a checkbox:
The problem is that he has to choose between choices which has been earlier set (strawberry, oragne, raspberry), even though this ice-cream cafe explores new tastes oftenly.
What I would like to do, is to allow the worker to add new item to the items list, like:
...and to make the opt_values value to take "taste name" of an item from the items list, no matter how many of items there are.
Is it possible?
Second issue is:
Later on, on the "menu for today" page, I may want to list all tastes ticked on the checkbox in a special way. How can I make the list appear like:
or:
etc.
Thanks in advance.
in the documentation you can read that:
Editable tags cannot be nested within other editable tags.
...what is actualy my issue. Is there any way around?
This is what I would like to do:
There is an ice-cream cafe, which everyday changes its menu. One day there are such tastes of ice-creams avaliable, other day - different. I've created a "menu for today" page, where worker can thick today's menu items from a checkbox:
- Code: Select all
<cms:editable
name="todays_tastes"
label="Choose menu for today" desc="Which tastes do you serve?"
opt_values='strawberry | orange | raspberry'
type='checkbox'
/>
The problem is that he has to choose between choices which has been earlier set (strawberry, oragne, raspberry), even though this ice-cream cafe explores new tastes oftenly.
What I would like to do, is to allow the worker to add new item to the items list, like:
- Code: Select all
Taste name: Red dragon
Taste description: Strawberry mixed with banana
Taste image:
...and to make the opt_values value to take "taste name" of an item from the items list, no matter how many of items there are.
Is it possible?
Second issue is:
Later on, on the "menu for today" page, I may want to list all tastes ticked on the checkbox in a special way. How can I make the list appear like:
- Code: Select all
<img src:graphic> Orange <br>
<img src:graphic> Strawberry <br>
or:
- Code: Select all
<img src:Taste image><br>
<img src:graphic><b>Taste name</b><br>
<description of a taste>
etc.
Thanks in advance.