I am setting up a business website using MODx. Rather than having the entire ’content area’ of the page editable, on certain pages I only want regions of it to be editable.
I have read the documentation about TV’s but do not understand how to apply them in my cases. Here’s a couple of sample scenarios:
Home page
This has a fancy layout, and in order to stop the people editing the page from destroying the layout, I’d like to restrict the areas they can edit to the bits shown in green.
Somehow they want the ability to add new boxes in the right column without destroying the page layout... so repeating regions?
’Our Staff’ page
This is like a ’latest news’ page - it comprises of repeating regions all down the page. For each member of staff, the client needs to upload an image and enter the details shown in the image.
I *could* have them edit the entire page here, but if they did the layout would become variable between each staff member’s biography (I might have to resort to tables!)
There’s plenty of other pages like these on the site (job postings etc) but those seem to have a way to be done with existing MODx plugins.
I can do (much) of this using TinyMCE’s
noneditable plugin, but as a CMF I’d prefer to store the fields separately in the DB.
So.. how should I tackle this? Does MODx do componentised data storage? I don’t want to have template variables flapping around on non-associated pages, so I think I have to create an entire copy of the main site template for each of the above pages?