Code: Alles auswählen
<we:ifSelf doc="top" id="xx">etwas Inhalt</we:ifSelf>
Code: Alles auswählen
<?php if($GLOBALS['WE_MAIN_DOC']->ID == 'xx') {echo "etwas Inhalt";} ?>
Was mache ich falsch?
Das Ganze läuft mit WE 8.1.0.0 unter PHP 7.3.10
Code: Alles auswählen
<we:ifSelf doc="top" id="xx">etwas Inhalt</we:ifSelf>
Code: Alles auswählen
<?php if($GLOBALS['WE_MAIN_DOC']->ID == 'xx') {echo "etwas Inhalt";} ?>
Mitglieder in diesem Forum: 0 Mitglieder und 21 Gäste