Feature #45725
closedFAL file collections should be able to be recursive
Added by Maarten Mandemaker over 11 years ago. Updated about 6 years ago.
100%
Description
FAL file folders should contain an option to be recursive.
page.10 = FILES
page.10 {
folders = 1:images/
folders.recursive = 1
}
Files
typo3_src-6.2.4.diff (3.52 KB) typo3_src-6.2.4.diff | Stephan Bauer, 2014-07-16 19:17 |
Updated by Wouter Wolters about 11 years ago
- TYPO3 Version changed from 6.0 to 6.2
Updated by Wolfgang Wagner over 10 years ago
Yes, that would be a very nice feature!
Updated by Uwe Wiebach over 10 years ago
It would be great if this could not only be done for folder based collections but for category based ones too. Maybe it could be the default behaviour for these so you don't need to set the parent category and the child for the file. Or is there a way to select the parent if the child is selected?
Updated by Stephan Bauer over 10 years ago
- File typo3_src-6.2.4.diff typo3_src-6.2.4.diff added
With the patch attached it is possible to get files recursive (only in CE, no typoscript)
Updated by Frans Saris over 10 years ago
Hi Stephan,
tnx for the patch. Had a quick look at it. But it misses some stuff.
- $this->recursive isn't declared in FolderBasedFileCollection.php
- recursive needs to be added to the sysext/core/ext_tables.sql
- You are using a non existing constant as filter option
Could you maybe update your patch and push it to gerrit? (see http://wiki.typo3.org/Contribution_Walkthrough_Tutorials)
gr. Frans
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Alexander Opitz about 10 years ago
- Category set to File Abstraction Layer (FAL)
Hi Stephan,
can you please rework your patch and fix the issues which Frans mentioned?
Updated by Stephan Bauer about 10 years ago
Hello Alexander,
I think the patch from Frans complete or am I wrong?
Updated by Alexander Opitz about 10 years ago
Hi Stephan,
Frans only took your patch and postet it to gerrit and asked you to update your patch:
* $this->recursive isn't declared in FolderBasedFileCollection.php * recursive needs to be added to the sysext/core/ext_tables.sql * You are using a non existing constant as filter option
Updated by Frans Saris about 10 years ago
I updated the missing parts already. But for this issue the typoscript rendering possibilities of file collections should also be changed.
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Daniel Goerz over 9 years ago
I've added a patchset that enables the functionality of recursive folders in TypoScript FILES object. You can test it e.g. with this TS snippet:
page = PAGE page.10 = FILES page.10 { folders = 1:images/ folders.recursive = 1 renderObj = IMAGE renderObj { file.import.data = file:current:uid } }
Of course you need to have a folder "images" in your fileadmin that contains at least one subfolder.
Updated by Gerrit Code Review over 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Gerrit Code Review over 9 years ago
Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32638
Updated by Frans Saris over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 505da82c7cb1e058ffa9a05caf6a5cb2d7159b9b.