header header
 

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

header

Started by Mariluz1976, February 06, 2006, 06:31:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mariluz1976

Yes I know, problably another simple question but..

How am I to make a path to a file that becomes my own header.
Where do I do this and how should such a path look like?
http:...... or??
Als this file, do I need to load it?


Thx!!!

Joachim Müller


Mariluz1976

Dear Gaugau,

I already read this, but didn't understand it.
What is a path? How should I write it down??

Thx  ;)

Joachim Müller

Basic html terminology:
http://www.webdiner.com/webadv/begin/paths.htm
http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm

It's important that you understand the basic concept before trying to fiddle with includes.
For the custom footer in coppermine, use a relative path

Mariluz1976

Hi again,

Ow well..I knew this already...Didn't know it was called relative path (in English).
But still somehow it doesn't seem to work. I've tried every relative path option in the book.
Well I'll keep trying.
Thx!!

Joachim Müller

Post the URL of your coppermine gallery and the URL of the file you're trying to include, and we'll probably be able to come up with the proper path settings. If you're trying to include a file that is not only plain html, but a dynamic page (PHP), attach the file you're trying to include to your posting (using "addtional options" when composing your message, renaming the file from "myscript.php" to "myscript.php.txt" before trying to attach it).

Mariluz1976

Ow cool...
I've a feeling that I'll be hanging around this forum a lot in the near future ;D

http://www.sousacreative.com/coppermine/cpg143/index.php

<img src="www/coppermine/cpg143/albums/fotobestanden/headtop.jpg"> or something...

But I think I got it...
It's problably not possible to put just a jpg pic above the template header. I must make a complete header in php, right??
???

Tranz

You would need to put the code in a php or html file:
<img src="http://www.sousacreative.com/coppermine/cpg143/albums/fotobestanden/headtop.jpg">

Make sure the path is correct. The one you tried to use is in an incorrect format. I tried to merge the info given your gallery url and the image path and got a 404.

Mariluz1976

Ow stupid, sorry, I changed the file to a PHP one... but the jpg one is back now.

B.t.w.It also doesn't seem to work in PHP & HTML.My scripts must be wrong.

I'll leave it for the time being and focus on the construction of my website  ;)
But..I'll be back!

Thx guys 8)

Tranz

I'll mark the thread "closed" for now but once you want to resume working on this, feel free to reply to the thread to reopen it.

Joachim Müller

if it's only an image file, why don't you simply add it to themes/yourtheme/template.html (using regular html)?