forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: Shane on August 28, 2010, 10:15:33 pm

Title: Attempting port of WP Twentyten theme into CPG 1.5.x
Post by: Shane 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
Title: Re: Attempting port of WP Twentyten theme into CPG 1.5.x
Post by: Nibbler 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.
Title: Re: Attempting port of WP Twentyten theme into CPG 1.5.x
Post by: Shane 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...
Title: Re: Attempting port of WP Twentyten theme into CPG 1.5.x
Post by: Αndré 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?
Title: Re: Attempting port of WP Twentyten theme into CPG 1.5.x
Post by: Shane 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