Project

General

Profile

Actions

Bug #17197

closed

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

Added by Neike Taika-Tessaro about 17 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2007-04-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 = |<br /><br />
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 = <span class="breadcrumb"> | </span>
}
}
[...]

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

Actions

Also available in: Atom PDF