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: banner to the gallery  (Read 2553 times)

0 Members and 1 Guest are viewing this topic.

vickydhani

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
banner to the gallery
« on: March 30, 2006, 02:13:44 am »

hi i m using a coppermine script

i want to know how can i add the banner to te script and link the banner to the desired url
can some please help me regarding this

thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: banner to the gallery
« Reply #1 on: March 30, 2006, 07:05:16 am »

edit themes/yourtheme/template.html and edit it as you see fit (use plain html). Relative links must be seen from the coppermine root instead of the theme sub-folder.
Example: add something like
Code: [Select]
<a href="my_link.htm"><img src="/absolute/path/to/my/banner.jpg" border="0" alt="" /></a>in the place of the logo in your theme.
If you want to add a banner rotation (i.e. dynamic scripting), things get a bit more complicated. If this is the case, post a link to your site and the code you want to add.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.