We have x2 weekly food menus on a page (image attached) And have set up the custom fields (image attached)
We want one user group to be able to update the menu each week with a front end form.
What would the best way to set this up? can we do it without using a VIEW? By adding the fields directly into a the page and having an Edit form link to update the weekly menu?
Hello,
Yes, it is possible with just custom fields.
You can setup some custom fields, for example:
- Monday Soup of the day
- Monday Main choice
- Monday Vegetarian choice
- Tuesday Soup of the day
- Tuesday Main choice
- Tuesday Vegetarian choice
...
Then create a Toolset form for editing post, so your user will be able to edit/update the above fields in front-end, see our document:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
Hi Luo,
On the page, how do we pull through the correct locations menu items, as we will have 2 weekly menus. Can we do this with one set of custom fields and one form using a taxonomy for the location?
Please elaborate the new question with more details:
how do we pull through the correct locations menu items, as we will have 2 weekly menus. Can we do this with one set of custom fields and one form using a taxonomy for the location?
What is the correct locations menu items? can you take a screenshot for it?
So we have
A weekly menu for our Nottingham location
A weekly menu for our Scotland location
Can we use the same edit form and fields using a taxonomy for the "location" and display the results in a page without using a VIEW?
Yes, I think so.
You can create a taxonomy "location", assign it with your custom pos type "weekly food menus".
It does not need Views plugin.
Does this mean I should not use a repeatable group for the days? as I am not able to pull in the data to the page.
You can use a repeatable group for the days, that depends on yourself, if you don't want to use Views plugin, you can try my suggestion above:
https://toolset.com/forums/topic/setting-up-repeatable-group-page-display-and-front-end-form/#post-1448103
It needs only one field group.
If you need more assistance for it, please provide a test site, I can setup a demo for you.
My issue is resolved now. Thank you!