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: Attempting port of WP Twentyten theme into CPG 1.5.x  (Read 2703 times)

0 Members and 1 Guest are viewing this topic.

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Attempting port of WP Twentyten theme into CPG 1.5.x
« on: August 28, 2010, 10:15:33 pm »

Site with port of WP Twentyten into CPG 1.5.x - http://philmontforum.com/15test/cpg
Site with port of WP Twentyten into CPG 1.4.23 - http://shaneandpamela.com/cpg
Site with original WP Twentyten theme - http://shaneandpamela.com/wp

I've gotten the 1.4.23 port done good enough to use, but I'd like to update my site to 1.5.x.

I'm having some trouble with updating the theme to work in CPG 1.5.x.  I've attached a .zip of the theme as it stands right now.  Most of the theme works.  The {JAVASCRIPT} and {CREDITS} tokens do  not seem to be working (they just appear as text on the site), and I cannot add categories or albums, upload photos, or do anything else that appears to require Java or Flash.

Can someone take a look at my theme as it stands and let me know what I've messed up?  I've tried to take as much of the content for the theme.php file as I could from the curve theme theme.php file.

Any help is greatly appreciated!

Shane
Logged

Nibbler

  • Guest
Re: Attempting port of WP Twentyten theme into CPG 1.5.x
« Reply #1 on: August 28, 2010, 10:25:38 pm »

You need to go though each variable and function in theme.php and sync it with the corresponding code in 1.5's sample/theme.php.
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Attempting port of WP Twentyten theme into CPG 1.5.x
« Reply #2 on: August 28, 2010, 10:53:45 pm »

Thanks as always Nibbler... :)

The problem was my fault. I thought I was pulling from a CPG 1.5.8 sample theme.php.  I was actually pulling from a 1.4.23 sample theme.php. 

I've attached a new zip that works completely.  Zip also includes a cleaned up template.html file.

Now I just have to figure out how to change the font on the menu...
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: Attempting port of WP Twentyten theme into CPG 1.5.x
« Reply #3 on: August 30, 2010, 04:37:22 pm »

I've attached a new zip that works completely.
So we can move it to the contributions board? Or do you start a new thread for that board?
Logged

Shane

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 76
  • Choose Again
    • The Philmont Forum
Re: Attempting port of WP Twentyten theme into CPG 1.5.x
« Reply #4 on: August 30, 2010, 08:22:41 pm »

Andre',

The theme is not ready yet...

I posted a question in the 1.4 upload forum by mistake.  It needs to be moved to the 1.5 upload forum.

Link is http://forum.coppermine-gallery.net/index.php/topic,66846.msg332065.html#msg332065.

For some reason, the flash upload is not working correctly with the theme.  On my site, when I change theme to CURVE, flash upload works perfectly.  All details are given in the mis-placed post.

Once I have the theme completed, I'll submit for the contribution board.

Thanks!
Shane
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.