forum.coppermine-gallery.net

Support => Deutsch (German) => Language Specific Support => cpg1.4.x Deutsch (German) => Topic started by: Kunsi on November 15, 2006, 08:23:51 pm

Title: kein <html>etc. im custom header/footer?
Post by: Kunsi on November 15, 2006, 08:23:51 pm
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
Code: [Select]
<!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
Code: [Select]
<!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 ...
Title: Re: kein <html>etc. im custom header/footer?
Post by: François Keller on November 15, 2006, 09:06:06 pm
Hallo,

schau mal in die documentation  ;)http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme)
Title: Re: kein <html>etc. im custom header/footer?
Post by: Joachim Müller on November 15, 2006, 10:54:32 pm
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme_include_path_start genau genommen. Zitat:
Quote
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.
Title: Re: kein <html>etc. im custom header/footer?
Post by: Kunsi on November 16, 2006, 07:23:45 am
schade