[Typo3-dev] checkRootLine für HMENUs
Martin T. Kutschker
Martin-no5pam-Kutschker at blackbox.n0spam.net
Wed Jun 16 17:04:01 CEST 2004
Hi!
"config.typolinkCheckRootline = 1" doesn't work for menus or other
elements that call t3lib_TStemplate->linkData() and not
tslib_content->typoLink.
If I read the code correctly linkData() doesn't set the domain, it's the
calling routines. In the case of typoLink() it's there where the
rootline check happens.
The point is that a HMENU uses a private link generating mechanism:
tslib_menu->link(). This method calls linkData() and does some processing.
Link could either call $this->parent_cObj->typoLink() instead (will
change lastTypoLink!) or do the rootline checkt itself. The latter could
either be triggered by "config.typolinkCheckRootline" or an new config,
eg "menuCheckRootline".
Masi
More information about the TYPO3-dev
mailing list