Actions
Feature #49480
closedRegister values in FilesContentObject
Status:
Closed
Priority:
Could have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-06-27
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Its not possible to retrieve the file number or total file count in renderObj of the FILES Content Object.
To render the files differential you can use the optionSplit, but sometimes it would be useful to print the file number or work with if conditions.
Of example:
10 = FILES 10 { references { table = tt_news uid.field = uid fieldName = media } renderObj = COA renderObj { 10 = TEXT 10.value = Render first file two times 10.if.isFalse.data = register:FILE_NUM_CURRENT 20 = TEXT 20.value = file } }
Actions