-
- 17 Posts
Hi,
I'm creating a product list for a client. Every item is listed with a product name, an image, some details about the item and links to a new page with more information about it.
In MODX, this translates to a chunk, a handful of TVs and a new resource per item. I want to automate the process of creating new items to make the site easier to administer.
What's a reasonable approach for this?
I'm not very experienced in working with PHP, or even MODX for that matter, I'm basically just asking for some pointers here as I realize it's a rather large task.
Thanks in advance,
Nils
Use all TVs for your items, no chunks. A TV can act much like a chunk with a default value.
If you don't want the TV default value to be changed by the editor user, it can be either locked so only the Administrator user can edit it, or it can be hidden altogether.
-
- 17 Posts
Thank you for your reply Susan, I'll look into this tomorrow.
And regarding a new resource connected to the item, how could this be solved? Can I make the item TV automatically attach to a new resource if it's created in a certain sub group?
TVs are attached to templates. Templates can be automatically inherited either from a parent or from a sibling resource.