Globalvariable aus langconfig.php in Modul vom Typ HTML verwenden
Hallo Community,
ich habe eine eigene Globalvariable in der langconfig.php definiert:
PHP-Code:
if ($GLOBALS['TL_LANGUAGE'] == 'de') {
$GLOBALS['TL_LANG']['MSC']['topScroller'] = 'Hoch';
} else if ($GLOBALS['TL_LANGUAGE'] == 'fr'){
$GLOBALS['TL_LANG']['MSC']['topScroller'] = 'haut';
} else {
$GLOBALS['TL_LANG']['MSC']['topScroller'] = 'top';
}
Diese möchte ich nun in einem Modul vom Typ HTML einsetzen.
Wie funktioniert dies ?
Gruß
Marcel
Liste der Anhänge anzeigen (Anzahl: 3)
Hi BugBuster,
perfekt genau das haben wir gesucht.
Anhang 15477
Anhang 15478
Anhang 15479
Danke dir !!!
Gruß
Marcel