[TYPO3-english] Delete act flag on GMENU

Sergio naguib.mahfuz at gmail.com
Fri Jul 30 17:38:24 CEST 2010


Hi list:

I've got the next TS config for my language selector:

lib.languageSelector = HMENU
lib.languageSelector {
  special = language
  special.value = 0,1,2
  1 = GMENU
  1.noBlur = 1
  1 {
    NO {
      ATagParams = title="Español" || title="English" || title="Portuguese"
      wrap = | 
      XY = [5.w],[5.h]
      5 = IMAGE
      5.file = fileadmin/templates/img_content/spanish_flag.gif ||
fileadmin/templates/img_content/english_flag.gif ||
fileadmin/templates/img_content/portuguese_flag.gif
    }

    ACT < .NO
    ACT = 1

    ACT {
      5 >
    }
  }
}

I'd like the flag to disappear when link state is ACT. I tried to delete "5"
reference as you can see, but an image 1px x 1px is created so normal flags
move a little bit on frontend.

How could I delete image completely?

Thanks in advance,
Sergio


More information about the TYPO3-english mailing list