[TYPO3-english] Delete act flag on GMENU
Sergio
naguib.mahfuz at gmail.com
Mon Aug 2 09:51:22 CEST 2010
Hi David:
I'm sorry: that doesn't work. If I disable CUR state, flag appears again as
it takes NO state. My goal is to delete the image completely.
I agree: in terms of usability, flags should appear but with no link... but
my boss is my boss :)
Thanks!
Sergio
2010/7/30 David Bruchmann <typo3-en at bruchmann-web.de>
> ----- Ursprüngliche Nachricht -----
> Von: Sergio <naguib.mahfuz at gmail.com>
> Gesendet: Freitag, 30. Juli 2010 17:38:24
> An: typo3-english at lists.typo3.org
> CC:
> Betreff: [TYPO3-english] Delete act flag on GMENU
>
> Hy Sergio,
>
> I suppose it's not logical to reference something you don't need.
> Try something like this:
>
>
>
>> 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
>> }
>>
>
> CUR = 0
>
> }
>> }
>>
>>
>
> I renamed ACT to CUR to show that it's the current state - in
> language-menus there isn't any hirarchy where ACT and CUR are combined
> usually. ACT is for trees where the current-page is inherited even it's
> working for the current page when CUR isn't used.
>
> BTW: for usability I'd show the current flag but without link and/or a
> colored frame. The reason is that all flags keep at the same place and don't
> jump while changing the language - but it's a matter of taste ;)
>
> Greets,
> David
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list