MyXoops Forum

Forum - myXOOPS German Support

3 + 5 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw: Startseite anderes als die restlichen Seiten?

Betreff: Aw: Startseite anderes als die restlichen Seiten?
von hoegger am 29.08.2013 00:22:06

Name bzw. Modulverzeichnis einer Smarty Variablen zuweisen und abfragen: <{php}> $modul = $GLOBALS['xoopsModule']; $ordner = (isset($modul) ? $modul->getVar('dirname') :'system'); $GLOBALS['xoopsTpl']->assign( 'xoops_cmod', $ordner ); <{/php}> ... <{if $xoops_cmod == "system"}> ... <{elseif $xoops_cmod == "news"}> ... <{/if}>

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag