[TYPO3-dev] add custom records to existing TMENU with IProcFunc
Bas van der Togt
bas.vander.togt at efocus.nl
Tue Feb 8 17:32:27 CET 2011
Hello list,
I'm trying to add some custom items from another table to my existing
TMENU underneath pid=5 I found some examples
typo3/sysext/cms/tslib/media/scripts/example_itemArrayProcFunc.php but
those are not what i'm looking for.
Example what i want:
page 1 (pid=1)
page 2 (pid=2)
--subpage 1 (pid=3)
--subpage 2 (pid=4)
page 3 (pid=5)
--custom record 1
--custom record 2
page 4 (pid=6)
--subpage 3 (pid=7)
...
My TS:
obj.mainnav = HMENU
obj.mainnav {
special = directory
special.value = 370
excludeUidList = 431,373,372
1 = TMENU
1 {
expAll = 1
wrap = <ul class="mainnav">|</ul>
noBlur = 1
IProcFunc = user_itemArrayProcFuncTest
NO = 1
NO {
ATagTitle.field = subtitle // title
wrapItemAndSub = <li>|</li>
stdWrap.wrap = <span class="arrow"></span> |
allWrap = <h2>|</h2>
}
...
Can anybody help me to this?
regards,
Bas
More information about the TYPO3-dev
mailing list