kein <html>etc. im custom header/footer? kein <html>etc. im custom header/footer?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

kein <html>etc. im custom header/footer?

Started by Kunsi, November 15, 2006, 08:23:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kunsi

Hallo!

Kann es sein, das Coppermine im Custom Header und im Custom Footer keine <html><head> <body>-Tags akzeptiert und die rauslöscht, wenn sie per include() eingebunden werden?

Genauer: aus <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="/2col_leftNav.css" type="text/css" />
<title>Felix Kunsmann - Bildergalerie</title>
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-739107-1";
urchinTracker();
</script>
</head>

<body>

<div ...

wird
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">




<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="/2col_leftNav.css" type="text/css" />
<title>Felix Kunsmann - Bildergalerie</title>
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-739107-1";
urchinTracker();
</script>




<div ...

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme_include_path_start genau genommen. Zitat:
QuotePath 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.