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: Code in theme.php "Classic theme"  (Read 2868 times)

0 Members and 1 Guest are viewing this topic.

LeoGetz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Code in theme.php "Classic theme"
« on: February 08, 2009, 02:08:41 pm »

Hi!

I had an older version of coppermine before. Yesterday I downloaded the newest version and noticed
that in theme.php in the classic theme, all the code where gone. Where are the codes located now, in
which file? I want to make changes in template_main_menu and template_gallery_admin_menu.

Sorry for my english, hope you understand me.

Best regards Peter
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Code in theme.php "Classic theme"
« Reply #1 on: February 08, 2009, 02:18:56 pm »

Understand !

Try to open .../themes/sample/theme.php where you can find all CPG functions.
Logged

LeoGetz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Code in theme.php "Classic theme"
« Reply #2 on: February 08, 2009, 02:57:00 pm »

Aha, I see. Thanks for your help.
Logged

LeoGetz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Code in theme.php "Classic theme"
« Reply #3 on: February 20, 2009, 11:36:45 pm »

Hi again!

I´ve tried to modify in /themes/sample/theme.php but nothing happens.
I want to take away the sys_menu_buttons like home, login and album list links.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Code in theme.php "Classic theme"
« Reply #4 on: February 21, 2009, 07:04:01 am »

you must copy/paste the functions from the sample theme to your theme before modifications
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
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.