Ich würde gerne meine overall_header.html in eine overall_header.php umbenennen.
Ich weiß aber nicht, von wo aus die overall_header.html alles aufgerufen wird. Ich muss dort ja dann auch überall anpassen, dass die .php- Datei genommen werden soll.
Kann mir da jemand helfen?
overall_header.php
Forumsregeln
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
Antwort:
In fast jeder Template-Datei und in der
includes/function.php
Frage:
Was bringt das?
Du kannst PHP in Templates nutzen:
Coding Guidlines:
PHP
In fast jeder Template-Datei und in der
includes/function.php
Frage:
Was bringt das?
Du kannst PHP in Templates nutzen:
Coding Guidlines:
PHP
A contentious decision has seen the ability to include PHP within the template introduced. This is achieved by enclosing the PHP within relevant tags:
You may also include PHP from an external file using:Code: Alles auswählen
<!-- PHP --> echo "hello!"; <!-- ENDPHP -->
it will be included and executed inline.Code: Alles auswählen
<!-- INCLUDEPHP somefile.php -->
A note, it is very much encouraged that template designers do not include PHP. The ability to include raw PHP was introduced primarily to allow end users to include banner code, etc. without modifying multiple files (as with 2.0.x). It was not intended for general use ... hence www.phpbb.com will not make available template sets which include PHP. And by default templates will have PHP disabled (the admin will need to specifically activate PHP for a template).
Standart: Am besten mit beiden Beinen auf dem Boden
Standardmäßig antworte ich nicht auf PMs
Standardmäßig antworte ich nicht auf PMs