Bug #20793
closednoTrimWrap = | || won't work inside a menu
100%
Description
TYPO3 seems to recognize this pattern as an optionSplit inside a HMENU...
10 = HMENU
10 {
1 = TMENU
1 {
ATagParams.cObject = COA
ATagParams.cObject {
wrap = class="|"
10 = TEXT
10.value = menu
20 = TEXT
20 {
value = highlight
noTrimWrap = | ||
fieldRequired = ...
}
}
}
}
should also be present in lower versions of TYPO3:
compare:
http://www.typo3.net/index.php?id=13&action=list_post&tid=79003 [de]
(issue imported from #M11598)
Updated by Jochen Rau over 12 years ago
- Category set to TypoScript
- Status changed from New to Accepted
- Target version deleted (
0) - TYPO3 Version changed from 4.3 to 4.7
- PHP Version changed from 4.3 to 5.3
I can confirm this issue using the following setup:
temp.mainMenu.10 = HMENU temp.mainMenu.10 { entryLevel = 0 1 = GMENU 1.expAll = 1 1.wrap = <ul class="firstLevel">|</ul> 1.NO = 1 1.NO { allWrap = <li>|</li> XY = [10.w]+10,[10.h]+10 backColor = #ffffff transparentColor = #ffffff transparentBackground = 1 10 = TEXT 10 { text.field = title text.noTrimWrap = | -- | | fontSize = 14px fontFile = fileadmin/fonts/momstypewriter.ttf fontColor = #535f5f offset = 0,26 } } 1.ACT < .1.NO 1.ACT { allWrap = <li class="current">|</li> } }
Updated by Jochen Rau over 12 years ago
- Assignee set to Jochen Rau
The issue is caused by the implementation of the optionSplit. Specifically by an explode pattern '||' used in t3lib_TStemplate::splitConfArray. This pattern can also occur in a noTrimWrap wit different semantics.
Updated by Jochen Rau over 12 years ago
- Status changed from Accepted to Under Review
Updated by Steffen Ritter over 12 years ago
- Status changed from Under Review to Accepted
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9428
Updated by Steffen Ritter over 12 years ago
- Target version changed from 4.7.0-beta2 to 4.7.0-beta3
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7255
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9428
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9428
Updated by Gerrit Code Review over 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9428
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9428
Updated by Gerrit Code Review over 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9428
Updated by Gerrit Code Review over 11 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9428
Updated by Jigal van Hemert over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8feaf17bc84d008dc41a1f1de0e0cb4248ba2cdb.
Updated by Chris topher over 11 years ago
- Target version changed from 4.7.0-beta3 to 6.1.0
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed