hallo,
alternative sprachen funktionieren hervorragend ich habe allerdings ein problem alle flaggen bis auf die default flagge bleiben grau.
hier ein auszug aus dem setup:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:
| [globalVar = GP:L = 6] config.sys_language_uid = 6 config.language = en config.locale_all = english config.htmlTag_langKey = en [global] [globalVar = GP:L =8] config.sys_language_uid = 8 config.language = dk config.locale_all = dk_DK config.htmlTag_langKey = dk [global] |
und der auszug aus der php datei:
PHP-Code:
$flags = array();
$flags[] = ($GLOBALS['TSFE']->sys_language_uid==0?$pointer:'').'<a href="'.htmlspecialchars('index.php?id='.$GLOBALS['TSFE']->id.'&L=0').'" target="_top"><img src="typo3/sysext/cms/tslib/media/uploads/flag_de.gif" width="21" height="13" hspace="5" border="0" alt="" /></a>';
$flags[] = ($GLOBALS['TSFE']->sys_language_uid==8?$pointer:'').'<a href="'.htmlspecialchars('index.php?id='.$GLOBALS['TSFE']->id.'&L=8').'" target="_top"><img src="typo3/sysext/cms/tslib/media/uploads/flag_dk'.($langArr[2]?'':'_d').'.gif" width="21" height="13" hspace="5" border="0" alt="" /></a>';
$flags[] = ($GLOBALS['TSFE']->sys_language_uid==6?$pointer:'').'<a href="'.htmlspecialchars('index.php?id='.$GLOBALS['TSFE']->id.'&L=6').'" target="_top"><img src="typo3/sysext/cms/tslib/media/uploads/flag_uk'.($langArr[1]?'':'_d').'.gif" width="21" height="13" hspace="5" border="0" alt="" /></a>';
kann mir jmd sagen was ich vergessen hab ?
gruß