Feature #17268
closed
Add TSconfig parameters to save/load inline records based on a special inline elements folder
Added by Jo Hasenau over 17 years ago.
Updated over 12 years ago.
Description
The default behaviour for inline records created with the new IRRE features is to reside on the same page as the parent element.
If you are using the CSV version this is true for the elements and if you are using the MM version this is true at least for the records of the MM tables.
For the ICE pack it would be essential to have the possibility of choosing a special folder to save all inline elements.
To make this more comfortable it would be cool if there would be a TSconfig parameter available, that would
a) switch the behaviour on demand
b) provide the uid of the folder that should be used as inline container
c) make this recursively available so that subpages would inherit the value from their rootline.
We discussed that at T3DD07 already and came to the conclusion that the "general recrod storage page" would be no option due to conflicts with other extensions that are already using it. So TSconfig should be the way to go.
(issue imported from #M5538)
Hi Joey,
what do you mean by "a) switch the behaviour on demand"? I'm working on "Conditions for the TSconfig in back-end" which is currently not possible (see bug #17299).
The points "b)" and "c)" or okay. Subpages always inherit the settings from their parents.
What do you think about a per-table-definition, like e.g.:
TCEFORM.tx_myext_child.pid = 123
TCEFORM.tx_myext_anothertable.pid = 456
or should it be more like
TCEFORM.inlineChildrenStoragePage = 123
"switch the behaviour on demand" just means: If there is a setting providing the uid of a storage folder use this, else store the inline elements at the page of the parent element.
I think a per table definition would be the better choice, since you could have different tables using IRRE features and usually you don't want them all to use the same storage folder.
Okay, so this could work like the following User TSconfig:
TCAdefaults.ty_myext_child.pid = 123
But it should only be applied if used in IRRE context because it might lead to some confusion if you create a tt_news record on a page that isn't visible at the same after saving (because of being moved to the one defined in TSconfig).
Using User-TSConfig has the disadvatage that you cannot use Page TS-Config.
I guess most use cases would like to have that option on a per-page or per-record level.
TCAdefaults generally doesnt work in IRRE which should be fixed and forcing the pid is also a quite needed feature!
This was fixed in #0005242.
- Target version deleted (
0)
Has this feature been been pushed to core already? Which version?
And is #5242 the correct related ticket (Redesign browse_links window), or is this a typo?
Thanks.
Also available in: Atom
PDF