⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (1.54 KB)
Bug #53214
ยป typoscript.txt
TypoScript for better copy & paste ;-) -
Gernot Ploiner
, 2013-10-30 07:41
/*
Test 1) Working example
Output: aaa - bbb
*/
page = PAGE
page {
10 = TEXT
10.value = aaa
20 = TEXT
20.value = bbb
20.noTrimWrap = | - ||
}
/*
Test 2) Bug with noTrimWrap
Output first Image: aaa -bbb
Output of following Images: aaabbb
*/
page = PAGE
page {
20 = FILES
20 {
folders = 1:gallery/
renderObj = COA
renderObj {
10 = TEXT
10.value = aaa
20 = TEXT
20.value = bbb
20.noTrimWrap = | - ||
}
}
}
/*
Test 3) The Position of the noTrimWrap doesn't matter. The Problem appears always. Here is an other Example.
Output first Image: <a href="index.php?id=1" title="aaa x-ybbb"><img src="fileadmin/gallery/A_Desert.jpg" width="1024" height="768" border="0" alt=""></a>
Output of following Images: <a href="index.php?id=1" title="aaabbb"><img src="fileadmin/gallery/A_Desert.jpg" width="1024" height="768" border="0" alt=""></a>
*/
page = PAGE
page {
20 = FILES
20 {
folders = 1:gallery/
renderObj = COA
renderObj {
10 = IMAGE
10 {
file = fileadmin/gallery/A_Desert.jpg
stdWrap.typolink.parameter = 1
stdWrap.typolink.ATagParams.cObject = COA
stdWrap.typolink.ATagParams.cObject {
30 = COA
30 {
stdWrap.noTrimWrap= | title="|" |
10 = TEXT
10.value = aaa
20 = TEXT
20.value = bbb
20.noTrimWrap = | x-y ||
}
}
}
}
}
}
(1-1/1)
Loading...