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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.