Get a reference to content from a given page
|Priority:||Should have||Due date:|
|Assignee:||Jo Hasenau||% Done:||
|TYPO3 Version:||PHP Version:|
There should be an option to fetch content from given pages and even subpages of these pages. We must enable the "reference" element, which is in fact just an improved version of the "Insert Records" element, to fetch content from the "pages" table. And we must add the "recursive" field to the TCE form of that element.
The goal is to enable the users to just fill in some page IDs and set the recursive level, so that the content of a page or a whole subtree of that page will be fetched without having to select single items.
This way we could be working with a kind of content repository, that will be filled by editors, while the content will be referenced by layouters, who can fill different columns of their grid elements based on that preset content.
|related to Grid Elements - Feature #35948: Implement a "get me a copy from another page" function||Resolved||2012-04-13|
Updated by Jo Hasenau about 1 year ago
Current trunk already contains a working solution.
It will add "pages" to the allowed tables of the "records" field and shows the selected items of the given page structure(s) within the reference element.
You can add a mix of single content elements and different pages to the CSV list of references. The recursion depth will be the same for each of that pages though.
Sorting will be by CSV position of the page ID + colPos + sorting - grid elements will be fetched by their parent containers as usual, unused elements will not be shown at all.
The backend layout of the source pages will be ignored, since they should be Sys Folders without a particular layout in most of the cases.
Please check out current trunk and report bugs if any, so that hopefully the next version will be uploaded to TER until end of the month.