Last active
December 23, 2015 19:48
-
-
Save chuenniger/6684745 to your computer and use it in GitHub Desktop.
TYPO3 Tipps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fehler finden, der im Typoscript-Objectbrowser angezeigt wird | |
------------------------------------------------------------- | |
Beispiele: | |
- 1: Line 4985: On return to [GLOBAL] scope, the script was short of 1 end brace(s) | |
- 2: Line 4227: Object Name String, ")" contains invalid character ")". Must be alphanumeric or one of: "_-." | |
Lösung: | |
- Auf Template Analyzer umstellen | |
- Haken setzen bei Linenumbers | |
- "Vollständige TS-Auflistung anzeigen" anklicken | |
- komplettes TypoScript mit Zeilennummern wird angezeigt | |
String concatenation (fce / pmkshadowbox / title attribute) | |
----------------------------------------------------------- | |
10 = IMAGE | |
10.file.XY = 200,150 | |
10.file.import = uploads/tx_templavoila/ | |
10.file.import.current = 1 | |
10.file.import.listNum = 0 | |
10.file.maxW = 400 | |
10.file.minW = 100 | |
10.file.maxH = 340 | |
10.file.minH = 340 | |
temp.WERT = COA | |
temp.WERT.10 = TEXT | |
temp.WERT.10.value = rel="shadowbox[bilder]" | |
# lightbox headline | |
lightboxHeadline = COA | |
lightboxHeadline.10 = TEXT | |
lightboxHeadline.10.field = field_lightbox_headline | |
lightboxHeadline.10.wrap = <div class="headline">|</div> | |
lightboxHeadline.10.if.isTrue.field = field_lightbox_headline | |
# lightbox text | |
lightboxHeadline.20 = TEXT | |
lightboxHeadline.20.field = field_lightbox_text | |
lightboxHeadline.20.wrap = <div class="text">|</div> | |
lightboxHeadline.20.if.isTrue.field = field_lightbox_text | |
# lightbox link | |
lightboxHeadline.30 = TEXT | |
lightboxHeadline.30.field = field_lightbox_link | |
lightboxHeadline.30.wrap = <div class="link">|</div> | |
lightboxHeadline.30.typolink.parameter.field = field_lightbox_link | |
lightboxHeadline.30.if.isTrue.field = field_lightbox_link | |
# collect | |
temp.WERT.20 = TEXT | |
temp.WERT.20.cObject < lightboxHeadline | |
temp.WERT.20.noTrimWrap = | title='|'| | |
10.imageLinkWrap = 1 | |
10.imageLinkWrap { | |
enable = 1 | |
bodyTag = | |
wrap = <a href="javascript:close();">|</a> | |
width = 800m | |
height = 600m | |
JSwindow = 1 | |
JSwindow.newWindow = 0 | |
typolink.parameter.override.cObject = IMG_RESOURCE | |
typolink.parameter.override.cObject.file.import.data = TSFE:lastImageInfo|origFile | |
typolink.ATagParams.cObject < temp.WERT | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment