Adding a board banner Adding a board banner
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Adding a board banner

Started by Jessi626, May 14, 2007, 03:58:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jessi626

i want to add a board banner to the top of my gallery how do i do that?

Nibbler

Edit your theme's template.html.

Jessi626


Joachim Müller

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.

Missionary

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

For example, I replaced this...


<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
</div>


with this...

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

Missionary

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.

Joachim Müller

Quote from: Missionary on May 15, 2007, 10:46:58 PM
I replaced this...


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

Quote from: Missionary on May 15, 2007, 11:09:01 PM
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"