[FEATURE] Add begin/maxItems options to FILES ContentObject 58/24558/5
authorSteffen Ritter <info@rs-websystems.de>
Fri, 11 Oct 2013 10:17:56 +0000 (12:17 +0200)
committerFrancois Suter <francois@typo3.org>
Tue, 15 Oct 2013 09:33:23 +0000 (11:33 +0200)
commiteb60cd1f02b2bb4f9e624349ce6c2eb6be3291a7
treef3acb90e83a9d0f941dd6ee58980d5d2e8e2fa68
parent3bc111bcab282321a4aecae7bad4e3b108b28563
[FEATURE] Add begin/maxItems options to FILES ContentObject

The FILES ContentObject always renders all files. If you access
the media field of a page you probably only want to render the
first attached file. This patch adds begin and maxItems as properties
to TypoScript.

Releases: 6.2
Resolves: #52632
Documentation: #52742
Change-Id: I9755571d5a1a692fbd4b5ea2b3ef82cc99fa2cc1
Reviewed-on: https://review.typo3.org/24558
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Francois Suter
Tested-by: Francois Suter
typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php