Issue Bug Closed

#17197doNotLinkIt (in TMENU's states (e.g. CUR) with special set to "rootline") is integer, not boolean

Neike Taika-Tessaro 04/10/07, 13:40 updated 05/26/10, 02:32

Description

Note the template TypoScript in “Steps to Reproduce”. The TypoScript makes a breadcrumb trail, but the current element (whilst it is affected by things such as .linkWrap changing, and thus definitely being displayed), will always be linked regardless of doNotLinkIt’s setting.

The solution was to set doNotLinkIt to “1”, and not “true”. Hence, this is an error in the documentation (which claims the type to be boolean), rather than an actual lack of functionality.

Note, for comparison, that TMENU’s expAll attribute is also boolean – here, using “true” has the desired effect, as one would expect. I thus assume one of the two (TMENU.expAll’s interpretation of “boolean” vs. TMENUITEM.doNotLinkIt’s interpretation of “boolean”) is incorrect.

[…]
BREADCRUMBS = HMENU
BREADCRUMBS {
wrap = |


special = rootline
special.range = 1|-1
1 = TMENU
1 {
NO = 1
NO.linkWrap = | » |*|  | » |*|  |
NO.ATagParams = class=“breadcrumb“
CUR = 1
CUR.linkWrap = | » |*|  | » |*|  |
CUR.doNotLinkIt = true
CUR.allWrap = |
}
}
[…]

Note about the PHP version: it is 4.4.4, not 4.3.
(issue imported from #M5389)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.