coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Stefpink on April 24, 2008, 05:42:58 PM

Title: Banner
Post by: Stefpink on April 24, 2008, 05:42:58 PM
How can i insert a banner on my gallery??  :-\
Title: Re: Banner
Post by: Nibbler on April 24, 2008, 05:55:52 PM
Edit your theme's template.html.
Title: Re: Banner
Post by: Stefpink on April 24, 2008, 06:07:33 PM
Quote from: Nibbler on April 24, 2008, 05:55:52 PM
Edit your theme's template.html.
how?!  ???
Title: Re: Banner
Post by: Nibbler on April 24, 2008, 06:08:35 PM
Download it with your FTP client, edit the HTML with a text editor to add the banner and re-upload.
Title: Re: Banner
Post by: Stefpink on April 24, 2008, 06:11:33 PM
Quote from: Nibbler on April 24, 2008, 06:08:35 PM
Download it with your FTP client, edit the HTML with a text editor to add the banner and re-upload.
ok what is the HTML code?
Title: Re: Banner
Post by: Joachim Müller on April 24, 2008, 06:20:17 PM
Depends on the banner. We can't teach you HTML, that's beyond the scope of this board.
Title: Re: Banner
Post by: hex1a4 on April 24, 2008, 07:04:36 PM
To learn HTML, visit w3schools.com (http://"http://w3schools.com/html/default.asp"). 

In addition to modifying your themes template file, you can also insert your banner in a file located in the root directory of your Coppermine installation, then login to Coppermine as administrator, click 'Config', expand the 'Themes settings' section and specify the file with the banner either in the 'Path to custom footer include' field or 'Path to custom header include' or both.
Title: Re: Banner
Post by: hex1a4 on April 24, 2008, 07:08:58 PM
Sorry about the bad link in my previous post.  The BB code works differently here than other boards I'm on.  This is the correct link: w3schools.com (http://w3schools.com/html/default.asp)
Title: Re: Banner
Post by: Joachim Müller on April 25, 2008, 07:04:40 AM
It's not necessary to use the custom_header / custom_footer include paths - they are meant to be used for dynamic content. It won't help to modify them if you don't know HTML in the first place.
Just edit template.html and add your banner code, something like <img src="path/to/your/banner.jpg" width="400" height="200" border="0" alt="" />