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: Adding new button to sub-menu  (Read 3110 times)

0 Members and 1 Guest are viewing this topic.

eka

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Adding new button to sub-menu
« on: October 16, 2007, 02:42:37 am »

Hi,
I've been wanting to add a new button to the sub-menu.
I read the threads that you can look up the theme.php and add in the extra line of code.
But the problem is my theme.php has no codes at all.

I tried to copy the entire set of codes from the theme.php from the sample theme but it caused some other problem.

What exactly do I need to do to add in the extra button link ? 

Pse advice.   Thanks.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9096
  • aka Frantz
    • Ma galerie
Re: Adding new button to sub-menu
« Reply #1 on: October 16, 2007, 07:16:21 am »

Hi,
copy only the function you will modify in your theme.php file and do the modif
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding new button to sub-menu
« Reply #2 on: October 16, 2007, 08:08:54 am »

See http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_sample
Moving to the sub-board that deals with theme customization.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.