Project

General

Profile

Actions

Feature #45725

closed

FAL file collections should be able to be recursive

Added by Maarten Mandemaker about 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-02-21
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Related issues 2 (0 open2 closed)

Is duplicate of TYPO3 Core - Feature #61238: File collection: to show also folders recursive with filesClosed2014-08-28

Actions
Has duplicate TYPO3 Core - Feature #67727: CE file links folder recursivelyClosed2015-06-24

Actions
Actions #1

Updated by Wouter Wolters over 10 years ago

  • TYPO3 Version changed from 6.0 to 6.2
Actions #2

Updated by Wolfgang Wagner about 10 years ago

Yes, that would be a very nice feature!

Actions #3

Updated by Uwe Wiebach almost 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?

Actions #4

Updated by Stephan Bauer almost 10 years ago

With the patch attached it is possible to get files recursive (only in CE, no typoscript)

Actions #5

Updated by Frans Saris over 9 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

Actions #6

Updated by Gerrit Code Review over 9 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

Actions #7

Updated by Alexander Opitz over 9 years ago

  • Category set to File Abstraction Layer (FAL)

Hi Stephan,

can you please rework your patch and fix the issues which Frans mentioned?

Actions #8

Updated by Stephan Bauer over 9 years ago

Hello Alexander,

I think the patch from Frans complete or am I wrong?

Actions #9

Updated by Alexander Opitz over 9 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
Actions #10

Updated by Frans Saris over 9 years ago

I updated the missing parts already. But for this issue the typoscript rendering possibilities of file collections should also be changed.

Actions #11

Updated by Gerrit Code Review over 9 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

Actions #12

Updated by Gerrit Code Review almost 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

Actions #13

Updated by Gerrit Code Review almost 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

Actions #14

Updated by Gerrit Code Review almost 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

Actions #15

Updated by Daniel Goerz almost 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.

Actions #16

Updated by Gerrit Code Review almost 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

Actions #17

Updated by Gerrit Code Review almost 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

Actions #18

Updated by Gerrit Code Review almost 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

Actions #19

Updated by Gerrit Code Review almost 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

Actions #20

Updated by Gerrit Code Review almost 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

Actions #21

Updated by Gerrit Code Review almost 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

Actions #22

Updated by Gerrit Code Review almost 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

Actions #23

Updated by Gerrit Code Review almost 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

Actions #24

Updated by Frans Saris almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #25

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF