[TYPO3] Need help with a conditional...
Timothy Patterson
tjpatter at svsu.edu
Thu Oct 4 16:57:43 CEST 2007
I don't mean to sound like a rookie, but I just can't figure out how to
get this to work... It just doesn't seem to care what the doktype is,
etc. Any suggestions?
Here is my Typoscript:
# Menu Object
temp.menu_1 = HMENU
temp.menu_1.alwaysActivePIDlist = 1185
# First level menu-object - textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
wrap = <ul>|</ul>
# Normal State Properties
NO.allWrap = <li>|</li>
NO.stdWrap.htmlSpecialChars = 1
# Enable Active State & Set Properties
ACT = 1
ACT.wrapItemAndSub = <li>|</li>
ACT.stdWrap.htmlSpecialChars = 1
ACT.doNotLinkIt = 0
[globalVar = TSFE:page|doktype=123]
temp.menu_1.1.ACT.doNotLinkIt = 1
[global]
}
Christopher Torgalson wrote:
> Hi,
>
> On 10/3/07, Christoph Moeller <moeller at network-publishing.de> wrote:
>> Hi Timothy,
>>
>> Timothy Patterson wrote:
>>> [TSFE:page|doktype = 123]
>>> ACT.doNotLinkIt = 1
>>> [global]
>> The path isn't right, this way. TYPO3 needs you to add the full array
>> key inside condition statements, below the full actual TMENU setup
>> that's supposed to work if the condition doesn't match:
>>
>> [TSFE:page|doktype = 123]
>> your.tmenu.key {
>> ACT.doNotLinkIt = 1
>> }
>> [global]
>
>
> This is true, but won't solve the problem; there is no such condition
> as 'TSFE'. TSFE is available as part of the globalVar condition:
>
> lib.something = foo
> [globalVar = TSFE:page|doktype=123]
> lib.something = bar
> [global]
>
>
More information about the TYPO3-english
mailing list