Bug #16263
closed
tt_content.menu.20.2: Directory with special.value
Added by Bjrn Kraus over 18 years ago.
Updated about 14 years ago.
Category:
Content Rendering
Description
The menu type "sitemap" allways displays the whole page tree. If you add the ts lines below it will recognize a given starting point.
Regards
Bjoern Kraus
----
Phoenix websolutions GbR
http://www.phoenixwebsolutions.de
tt_content.menu.20.2 {
special = directory
special.value = 1
special.value.override.field = pages
}
(issue imported from #M3705)
This is true, Bjoern. It looks it has always been like that, in 3.8.x, 4.0.x and in content(default) and css_styled_content.
While it seems like a "missing feature", we need to take care to keep the behaviour backwards compatible, if we change this in the core (css_styled_content and content(default) ).
Hm, what does that mean?
I know BC is one of TYPO3's goals but to set a starting point without a corresponding result is IMHO not a behaviour that needs to be saved.
Hopefully this won't lead into another impasse like in http://bugs.typo3.org/view.php?id=2842
Hi Ernesto!
And this one would be nice for 4.1 :-)
Hi Ernesto!
Will you take care that this enhancement will be a part of the upcoming 4.1?
Regards
Bjoern Kraus
have a look to my patch in #8939 (and in core list)
It's much more simple
Steffen: your patch is one line "smaller", but it is not "more simple". It is indeed more complex, because copying all .default settings we have to make sure we are not copying stuff that we don't want to (backwards compatibility), e.g. stdWraps, wraps, etc.
But as far as I could see, this has no different effect, because all wraps are substutited by "correct ones" in the .2 section, so I am ok with that patch.
Correction: sitemap does not display the whole tree, it displays all pages within current web site. In other words, it shows all pages starting from a page with root TS template. I think this behavior is correct. For your purposes you should use "Menu of subpages to these pages". It does exactly what you want.
Sorry to say this but this bug is a false one.
Also available in: Atom
PDF