coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Jessi626 on May 14, 2007, 03:58:34 AM

Title: Adding a board banner
Post by: Jessi626 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?
Title: Re: Adding a board banner
Post by: Nibbler on May 14, 2007, 04:09:17 AM
Edit your theme's template.html.
Title: Re: Adding a board banner
Post by: Jessi626 on May 14, 2007, 10:12:44 PM
how do i do that?
Title: Re: Adding a board banner
Post by: Joachim Müller 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.
Title: Re: Adding a board banner
Post by: Missionary on May 15, 2007, 10:46:58 PM
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.
Title: Re: Adding a board banner
Post by: Missionary 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 (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.
Title: Re: Adding a board banner
Post by: Joachim Müller on May 16, 2007, 08:05:42 AM
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"