[TYPO3] checking for global variable, for disabling menu
Marko Milosevic
marko.milosevic at deepscreen.ch
Thu Feb 22 12:30:10 CET 2007
Sorry, i have to write you whole code... I'm new to this, so... its
easer this way...
lib.country_menu = HMENU
lib.country_menu {
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
special{
category = 152
showProducts = 0
overridePid = 128
showNonLocalized = 0
}
1 = GMENU
[globalVar = GP:tx_commerce_pi1|catUid=155]
1.NO {
noLink = 1
}
[global]
1{
NO{
XY = 74,14
format = gif
quality = 100
noblur = 0
expAll = 0
backColor = #FFFFFF
10 = TEXT
10{
text.case = upper
text.field = title
fontColor = #7A7F6B
fontSize = 8
fontFile = fileadmin/fonts/STAN0757.TTF
offset = 0,10
niceText = 0
antiAlias = 0
}
}
RO < .NO
RO {
10.fontColor = #000000
}
RO = 1
ACT < .NO
ACT{
10.fontColor = #E81000
}
ACT = 1
}
2 < .1
3 < .2
1.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
2.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
3.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
}
More information about the TYPO3-english
mailing list