coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dtotty on November 06, 2007, 09:58:34 AM

Title: Help needed converting theme.pho from cpg1.3
Post by: dtotty 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
Title: Re: Help needed converting theme.pho from cpg1.3
Post by: François Keller 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 (http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html)
Title: Re: Help needed converting theme.pho from cpg1.3
Post by: dtotty 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
Title: Re: Help needed converting theme.pho from cpg1.3
Post by: Joachim Müller 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 (http://www.surreysnowsports.com/gallery/?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
Title: Re: Help needed converting theme.pho from cpg1.3
Post by: dtotty 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
Title: Re: Help needed converting theme.pho from cpg1.3
Post by: Joachim Müller 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.
Title: Re: Help needed converting theme.pho from cpg1.3
Post by: dtotty on November 06, 2007, 05:02:31 PM
Blinding,

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

Thanks,

Darryl  ;D