Add controller switching for frontend editing
The recent frontend editing overhaul for version 4.3 moves the logic of saving records into a controller in t3lib_frontendedit. This controller works for classic page templating, but TemplaVoila (and other future templating methods) may need their own options for handling moves, deletes, etc.
Since multiple controllers may be used throughout the site (ie. one branch of the pagetree uses TV, one does not), we need a way to switch these controllers via Page TSConfig and add an option TSFE.frontendEditingController.
Also, in order to access Page TSConfig, we had to move frontend editing a little bit later within index_ts.php. I haven't seen any side effects from this move.
(issue imported from #M10155)
#1 Updated by Jeff Segars over 11 years ago
Added a test extension with an alternate controller that dies as soon as a record is saved in frontend editing.
To activate the default controller, set TSFE.frontendEditingController = default in Page TSConfig or don't set anything at all . To activate the the test controller, set TSFE.frontendEditingController = test.