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: Adding a board banner  (Read 3903 times)

0 Members and 1 Guest are viewing this topic.

Jessi626

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Adding a board banner
« on: May 14, 2007, 03:58:34 am »

i want to add a board banner to the top of my gallery how do i do that?
« Last Edit: May 16, 2007, 08:06:17 am by GauGau »
Logged

Nibbler

  • Guest
Re: Adding a board banner
« Reply #1 on: May 14, 2007, 04:09:17 am »

Edit your theme's template.html.
Logged

Jessi626

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Adding a board banner
« Reply #2 on: May 14, 2007, 10:12:44 pm »

how do i do that?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding a board banner
« Reply #3 on: May 15, 2007, 07:56:31 am »

Click "Start" - "Run", type "notepad.exe", click "File" - "open". Navigate to your_coppermine_folder/themes/yourtheme/template.html and open that file. Type in the HTML tag you need, save your changes, upload the edited file.
If you can't understand that, you better hire someone to do this for you.
Logged

Missionary

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Adding a board banner
« Reply #4 on: May 15, 2007, 10:46:58 pm »

GauGau...It's not that easy as you make it.

For example, I replaced this...

Code: [Select]
<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
</div>

with this...

Code: [Select]
<table height="100" width="700" >
<tr>
<td>
<img src="images/php_banner.gif" height="100" width="700" align="center">
</td>
</tr>
</table>

And no header showed up. I'm still trying to figure it out myself, but i'll keep wading through posts, faq's, and such.
Logged

Missionary

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Adding a board banner
« Reply #5 on: May 15, 2007, 11:09:01 pm »

ahhh...I found the answer in this topic...

http://forum.coppermine-gallery.net/index.php?topic=39788.0

the url needs to point back to themes/your_theme/images/your_img.gif

then delete the code for the header.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding a board banner
« Reply #6 on: May 16, 2007, 08:05:42 am »

I replaced this...

Code: [Select]
<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
</div>
Don't replace, but add your custom code below the {CUSTOM_HEADER}-section. Don't edit out stuff that you don't understand - if you don't use the custom header feature, then the code won't do anything anyway. If you decide to use it later, you'll run into issues.

the url needs to point back to themes/your_theme/images/your_img.gif
You could use an absolute path or URL as well.

Anyway, marking as "solved"
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.