Hallo zusammen, ich suche eine Möglichkeit, an die Position eines Content Elements innerhalb der colPos zu gelangen. Also sowas wie eine innerPos oder so.
Konkret möchte ich unterscheiden, ob es sich bei einem Content Element eines bestimmten Typen um das erste, letzte oder ein gerades/ungerades (even/odd) Element handelt. Gibt es da was? Das einzige, was ich bisher gefunden habe ist "sorting", aber diese Zahl spiegelt nicht die Position eines CE's innerhalb einer Spalte wieder (also 1,2,3,4,.. bzw. 0,1,2,3,4...). TypoScript: tt_content.extkey_featured = FLUIDTEMPLATE tt_content.extkey_featured { file = EXT:extkey/Resources/Private/Templates/ContentElements/Featured.html dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor dataProcessing.10 { references { fieldName = image table = tt_content } as = images } } TSConfig: mod { wizards.newContentElement.wizardItems { common { elements { extkey_featured { icon = EXT:extkey/Resources/Public/Icons/Content/featured.svg title = LLL:EXT:extkey/Resources/Private/Language/locallang.xlf:content_elements.extkey.featured description = LLL:EXT:extkey/Resources/Private/Language/locallang.xlf:content_elements.extkey.featured.description tt_content_defValues { CType = extkey_featured } } } show := addToList(extkey_featured) } } } _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german