[TYPO3] checking for global variable, for disabling menu

Marko Milosevic marko.milosevic at deepscreen.ch
Thu Feb 22 11:58:11 CET 2007


Marko Milosevic wrote:
> Arjen Hoekema wrote:
>> Hi Marko,
>>
>> You could use a typoscript condition like this:
>>
>> [globalVar = GP:tx_commerce_pi1|catUid=155]
>> <disable your menu items>
>> [global]
>>
>> Kind regards,
>>
>> Arjen Hoekema
> 
> 
> Then menu just disappears...
> 
> I enter
> 
> noLink = 1
> 
> like replace for <disable your menu items>. Its code that disables menu 
> items if I write it without condition...

Yes, I forgot to mention, I wrote it under NO of GMENU.

When I put just noLink = 1, it works fine, I mean, it disables menu...


More information about the TYPO3-english mailing list