Aber das geht nun in 3.1.* nicht mehr so richtig. Den die eigenen Seiten von Erweiterungen haben keine direkte eigene .php Seite. Beispiel meine Erweiterung Impressum =>
app.php/imprint?0=imprint
bzw. bei im ACP aktivierter "Umschreiben von URLs aktivieren:" /imprint?0=imprint
So hat es in 3.0.12 funktioniert, da ist die Impressum Seite imprint.php
Code: Alles auswählen
<!-- IF SCRIPT_NAME neq 'faq' and SCRIPT_NAME neq 'search' and SCRIPT_NAME neq 'memberlist' neq 'imprint' --> class="active"<!-- ENDIF -->
Code: Alles auswählen
<!-- IF SCRIPT_NAME neq 'faq' and SCRIPT_NAME neq 'search' and SCRIPT_NAME neq 'memberlist' neq 'app' --> class="active"<!-- ENDIF -->
Aber auch das funktioniert nicht
Code: Alles auswählen
<!-- IF SCRIPT_NAME neq 'faq' and SCRIPT_NAME neq 'search' and SCRIPT_NAME neq 'memberlist' neq 'app.php/imprint' --> class="active"<!-- ENDIF -->
Code: Alles auswählen
'SCRIPT_NAME' => str_replace('.' . $phpEx, '', $user->page['page_name']),