[TYPO3] nav menu not creating correct url
Liz.Kehelly at lon.ac.uk
Liz.Kehelly at lon.ac.uk
Fri Aug 18 14:52:26 CEST 2006
Hi
I'm having a problem with my dynamic navigation.
When I am in a page for example with a url of
/for-staff/general-resources.html
That has a left hand menu of items including a "readlist", "books"
etc.......
The menu items url is
/for-staff/for-staff/general-resources/readlist.html
When inactual fact it should be
/for-staff/general-resources/readlist.html
It seems to be adding in the /for-staff/ folder twice
Does anybody know where I'm going wrong with this?
thanks
Here is the code for the left menu
#--------------------------
# Left Menu
#--------------------------
#
# Menu 1 cObject
temp.menu_1 = HMENU
temp.menu_1.entryLevel = 1
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
# expAll=1
# maxItems=7
wrap = <ul> | </ul>
NO {
wrapItemAndSub = <li>| </li>
#allWrap = <li>| </li>
}
ACT {
doNotLinkIt = 1
allWrap = <li>| </li>
ATagParams = class="active"
}
}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
expAll=0
wrap = <ul>|</ul>
NO {
allWrap = <li>|</li>
}
ACT {
allWrap = <li>|</li>
ATagParams = class="active"
}
}
#
#
# third level menu-object, textual
temp.menu_1.3 = TMENU
temp.menu_1.3 {
expAll=0
# wrap = <ul>|</ul>
NO {
allWrap = <ul><li>|</li></ul>
}
ACT {
allWrap = <li>|</li>
ATagParams = class="active"
}
}
#
#
# fouth level menu-object, textual
temp.menu_1.4 = TMENU
temp.menu_1.4 {
expAll=0
# wrap = <ul>|</ul>
NO {
allWrap = <ul><ul><li>|</li></ul></ul>
}
ACT {
allWrap = <li>|</li>
ATagParams = class="active"
}
}
More information about the TYPO3-english
mailing list