Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm going to make a page for a hairdresser. she has a page with prices and there i want to in back office make a page where you can enter a new price, edit old prices etc ..
I've tried to figure out how to do it in back office, but I can't find the solution to it. Must be sections, or a surface controller. Where do I find a guide to understand: D
You could take a look at Fluidity which gives you a custom section for editing database tables. So each price could be a record in the table and you will be able to add and edit the rows in the table.
Video showing you how to get started with Fluidity here:
Next you can read those values from the database and render them on the front end.
I would have a surface controller with an action with something like GetPrices()
The result of that action would be to return a partial view showing the prices, and if you use donut caching, the result of this call can be cached so you don't need to keep querying the database and preparing the partial view.
Video on donut caching here:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted