Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
header/footer include path
#1
Hallo,
ich habe jetzt die Coppermine Galerie.
Dort besteht die Möglichkeit, einen komplett eigenen Header bzw. Footer anzeigen zu lassen.
Man braucht NUR den Pfad dorthin anzugeben.
Weiß einer, was da jetzt genau im Falle des MyBB header/footer anzugeben ist ?

Path to custom footer/header include ???
Danke.


Path to custom header include

Optional relative path to a custom header file. Using this option, you can include non-coppermine code bits to be included into your theme, e.g. an overall navigation that gets included on your whole website. You can only add a relative path (seen from the root path of your coppermine install) - not an absolute one, nor a http include from another website. This option is only meant for experienced users who have some PHP know-how.

Warning: you mustn't include full html pages that contain an html header or footer (tags like <head> or <body>), nor can the included file do file header manipulation, e.g. reading another (non-coppermine) cookie.

[cpg1.4.0 or better required]
Path to custom footer include

Optional relative path to a custom footer file. The same remarks apply as for the custom header include path.

[cpg1.4.0 or better required]
MyBB Version: 1.6.12
DB Version: MySQLi 5.5.31
PHP Version: 5.3.27
Zitieren
#2
Das geht so nicht.
Der Header liegt nicht als Datei vor.
Du könntest ihn aus dem Quelltext kopieren und als Datei ablegen.

So geht das aber leider nicht.

Zitieren
#3
Danke, Jan.
Ja, habe mir schon sowas gedacht.
Ich habe die eine html Datei mit dem Inhalt von footer aus dem template in das Hauptverzeichnis meines Forums geladen und darauf verwiesen.

Allerdings kann coppermine nichts anfangen mit den Variablen und gibt diese wortwörtlich aus.
Das geht so also scheinbar nicht.

Nachtrag:
Mein Fehler !
Ich sollte ja den Quelltext nehmen.
Danke vielmals, das geht!!!
MyBB Version: 1.6.12
DB Version: MySQLi 5.5.31
PHP Version: 5.3.27
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Header/Footer hinter das Forum timmaeh 13 3.261 19.04.2012, 20:06
Letzter Beitrag: timmaeh
  footer und header bearbeiten? sniff 9 5.845 22.02.2012, 19:01
Letzter Beitrag: MrBrechreiz
  PHP Include oder ähnliches? Devidra 2 1.630 18.09.2011, 02:52
Letzter Beitrag: Devidra
  Header und footer ändern Fragz 1 1.982 13.10.2008, 11:54
Letzter Beitrag: Zwoetzen
  [Gelöst]Include Problem Jan 2 2.000 30.04.2006, 12:23
Letzter Beitrag: Jan