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: header  (Read 4946 times)

0 Members and 1 Guest are viewing this topic.

Mariluz1976

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
header
« on: February 06, 2006, 06:31:57 pm »

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!!!
« Last Edit: February 07, 2006, 05:12:43 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Mariluz1976

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: header
« Reply #2 on: February 06, 2006, 07:29:32 pm »

Dear Gaugau,

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

Thx  ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: header
« Reply #3 on: February 06, 2006, 09:12:32 pm »

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
Logged

Mariluz1976

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: header
« Reply #4 on: February 06, 2006, 11:07:23 pm »

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!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: header
« Reply #5 on: February 07, 2006, 07:36:56 am »

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).
Logged

Mariluz1976

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: header
« Reply #6 on: February 07, 2006, 02:46:57 pm »

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??
 ???
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: header
« Reply #7 on: February 07, 2006, 03:44:33 pm »

You would need to put the code in a php or html file:
Code: [Select]
<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.
Logged

Mariluz1976

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: header
« Reply #8 on: February 07, 2006, 04:29:44 pm »

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)
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: header
« Reply #9 on: February 07, 2006, 05:13:37 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: header
« Reply #10 on: February 07, 2006, 11:38:41 pm »

if it's only an image file, why don't you simply add it to themes/yourtheme/template.html (using regular html)?
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.