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: Help needed converting theme.pho from cpg1.3  (Read 4076 times)

0 Members and 1 Guest are viewing this topic.

dtotty

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Help needed converting theme.pho from cpg1.3
« on: November 06, 2007, 09:58:34 am »

Morning all,

I have been asked to be admin on a site which i have not built. The CPG was not working so upgraded to 1.4 but cannot get the theme.php to work no matter what i try. Could someone please if they have 5 minutes convert it to 1.4 please?

Many thanks

Darryl

Link to theme.php

http://www.surreysnowsports.com/gallery/themes/ski/theme.php
« Last Edit: November 06, 2007, 06:27:49 pm by GauGau »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9096
  • aka Frantz
    • Ma galerie
Re: Help needed converting theme.pho from cpg1.3
« Reply #1 on: November 06, 2007, 10:04:50 am »

hi,
you can do it with the documentation help.
look here http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
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

dtotty

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help needed converting theme.pho from cpg1.3
« Reply #2 on: November 06, 2007, 10:29:42 am »

Tried that,

No luck unfortunately. Just didn't work for me. As i said, i didn't create the theme originally and that conversion method just mucks everything up.

Thanks,

Darryl
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help needed converting theme.pho from cpg1.3
« Reply #3 on: November 06, 2007, 02:43:04 pm »

Zip the entire custom the and attach it to your posting (using "additional options" when composing your message). Your custom theme "ski" looks pretty standard to me, so I guess we can safely do a WinMerge diff against the classic theme that came with cpg1.3.x and the get rid of 99% of the custom theme. The remaining 1% should be extremely easy to convert. Looks like only the report to admin button is missing from the image navigation.

Cheers

Joachim
Logged

dtotty

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help needed converting theme.pho from cpg1.3
« Reply #4 on: November 06, 2007, 03:56:20 pm »


Joachim,

Thanks for your response. Sorry if this seems simple, never used coppermine or any programs that use php and databases so very new. Thanks for the offer of help. Please find attached all the original documents from the skin (cpg1.3x)

Many thanks in advance,

Darryl
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help needed converting theme.pho from cpg1.3
« Reply #5 on: November 06, 2007, 04:46:45 pm »

As I suspected your theme is in no way special except for some minor color adjustments, so the task was to verify my suspection and then get rid of the double definitions. Use the attachment, overwriting the stuff on your server.
Logged

dtotty

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help needed converting theme.pho from cpg1.3
« Reply #6 on: November 06, 2007, 05:02:31 pm »

Blinding,

Thank you so much, we now have one very happy ski club.

Thanks,

Darryl  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 16 queries.