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: Disclaimer button  (Read 3912 times)

0 Members and 1 Guest are viewing this topic.

GladiatoR

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Disclaimer button
« on: December 01, 2005, 08:19:07 am »

I am wanting to put a Disclaimer button on the bottom of my homepage so that it leads to another page. Also, is there a way to do this and still have the Hardwired theme but without all the gallery if that makes sense?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Disclaimer button
« Reply #1 on: December 01, 2005, 08:51:37 am »

edit themes/yourtheme/template.html with a plain text editor (notepad.exe is fine), find
Code: [Select]
{GALLERY}and add your disclaimer underneath it.
Logged

GladiatoR

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Disclaimer button
« Reply #2 on: December 01, 2005, 09:17:19 am »

Once again, thanks for your help. How do I get it at the bottom of the page though?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Disclaimer button
« Reply #3 on: December 01, 2005, 09:27:39 am »

if you put it right after {GALLERY}, your disclaimer will appear beneath the "Powered by Coppermine" tag. If you put it anywhere else further down to the bottom of the template file (but not beneath the </body>-tag, it will appear further down to the bottom. In fact, this is all plain html, with the stuff in curly braces being placeholders for the actual dynamic content that coppermine will create when executed. Just experiment a bit with it: put your disclaimer somewhere, upload the template.html file (overwriting the one on your webserver), then check the looks in your browser by refreshing your site. If you need more details, you'll have to learn some html.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.