Attempting port of WP Twentyten theme into CPG 1.5.x Attempting port of WP Twentyten theme into CPG 1.5.x
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Attempting port of WP Twentyten theme into CPG 1.5.x

Started by Shane, August 28, 2010, 10:15:33 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Shane

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

Nibbler

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.

Shane

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...

ΑndrĂ©

Quote from: Shane on August 28, 2010, 10:53:45 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?

Shane

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