Advanced search  

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]

Pages: [1]   Go Down

Author Topic: kein <html>etc. im custom header/footer?  (Read 3735 times)

0 Members and 1 Guest are viewing this topic.

Kunsi

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
  • Skype: Kunsi1990
kein <html>etc. im custom header/footer?
« 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 ...
« Last Edit: November 16, 2006, 07:34:30 am by GauGau »
Logged
Greetings, Kunsi
Gruss Kunsi

(http://kunsi.ku.funpic.de/home/schmal.jpg) (Direktlink zur Galerie, Direct linked to my Gallery)

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: kein <html>etc. im custom header/footer?
« Reply #1 on: November 15, 2006, 09:06:06 pm »

Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: kein <html>etc. im custom header/footer?
« Reply #2 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.
Logged

Kunsi

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
  • Skype: Kunsi1990
Re: kein <html>etc. im custom header/footer?
« Reply #3 on: November 16, 2006, 07:23:45 am »

schade
Logged
Greetings, Kunsi
Gruss Kunsi

(http://kunsi.ku.funpic.de/home/schmal.jpg) (Direktlink zur Galerie, Direct linked to my Gallery)
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.