No PHP involved at all.
You can start with a MIGx TV, then if it seems to be slow, graduate to a custom table and MIGXdb (basically the same thing, but saves the item's data to a custom table).
For your layman editor, you just go to the "category" resource in the Manager's left-hand tree, go to the Template Variables tab, and add/remove/edit items right there.
To create the TV, use the basic
MIGx instructions here, and just add another field for the price to the Form Tabs. The JSON structure may look a little intimidating at first, but all you need to do is add one line so that it looks like this
[
{"caption":"Info", "fields": [
{"field":"title","caption":"Title"},
{"field":"description","caption":"Description","inputTV":"richtextTV"},
{"field":"price","caption":"Price"}
]},
{"caption":"Image", "fields":[
{"field":"image","caption":"Image","inputTV":"imageTV"}
]}
]
This will cause your MIGx TV to open two tabs when you click "add new item", one with the caption "Info" and three fields, Title, Description, Price. The Description field will be a rich-text editor. The second tab will be for Image, and will have an image browser for uploading and selecting the image for this item. When you're done, the grid will show your item's title and a thumbnail of the image; that is controlled by the Grid Columns JSON.
The two "inputTV"s are just ordinary TVs, one a rich-text type TV and the other an image-type TV. These are embedded into the MIGx TV to serve as input fields.
To display your items on the web page, just use the getImageList snippet, as described in the
frontend usage page. Adjust the tpl (chunk) so the items' data is formatted the way you want.
Here are a few tutorials that may be helpful
http://www.cmstricks.com/blog/2012/10/24/migx/
https://www.markhamstra.com/modx-blog/2012/04/managing-galleries-with-migx/
[ed. note: sottwell last edited this post 13 years, 9 months ago.]