forum.coppermine-gallery.net

Support => cpg1.4 themes/skins/templates => cpg1.4.x Support => Older/other versions => cpg1.4 theme contributions => Topic started by: Gizmo on November 16, 2006, 02:56:19 am

Title: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
Post by: Gizmo on November 16, 2006, 02:56:19 am
This is a simple 2 column WordPress theme by Sadish Bala at http://wpthemepark.com (http://wpthemepark.com). This theme I've used as the basis for a tutorial written in another thread on converting WordPress themes to Coppermine - http://forum.coppermine-gallery.net/index.php?topic=38508.0 (http://forum.coppermine-gallery.net/index.php?topic=38508.0).

I've overwritten some of the configuration settings by using variables in the theme.php file. The reason for this is to prevent the standard settings in the Configuration tables set by you from "breaking" the theme. These changes are:

$CONFIG['max_film_strip_items'] = 4; //overrides the number of thumbnails.
$CONFIG['thumbcols'] = 4; //overrides the number of columns for thumbnails.
$CONFIG['main_table_width'] = '100%'; //overrides the Width of the main table (pixels or %).
$CONFIG['picture_table_width'] = '100%'; //overrides the Width of the table for file display (pixels or %).
$CONFIG['album_list_cols'] = 4; // sets "Number of columns for the album list = 3"
$CONFIG['first_level'] = 0; //sets "Show first level album thumbnails in categories = no".

This theme has the first level of album thumbnails turned off to make large galleries look move attractive. This will prevent the main page from being cluttered with thumbnails and easier to chose a particular category. Also, this theme is geared towards intermediate photos sizes of 400 pixels or less but the theme will reduce the size automatically for intermediate images larger than this. I've left the original WP theme style.css intacted and renamed it style_wp.css and noted which selectors I changed to make it compatible with Coppermine. OK..  there I said it.

See ya later,

Gizmo
Title: Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
Post by: Joachim Müller on November 16, 2006, 06:21:21 am
Demo (http://coppermine-gallery.net/demo/cpg14x/index.php?theme=greenflower) - Download (http://downloads.sourceforge.net/coppermine/cpg1.4.x_theme_greenflower.zip)
Title: Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
Post by: Colt45 on February 05, 2008, 11:41:05 am
Hey Billy,

Just wanted to say thanks and kudos for the great theme!

I've modified it a bit for a wider gallery and also ported it for Joomla.

Gallery: http://www.northshoremarketplace.info/cpg/
Joomla: http://www.northshoremarketplace.info/
 
Title: Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
Post by: Ludo on January 28, 2009, 12:09:09 am
I can't get vanity block images displaying (both with Firefox 2.0 and Opera 9.63), only with this theme.
http://vanrokken.altervista.org/index.php?theme=greenflower - they should appear on the same row as CC license one.
$template_vanity in theme.php is the same as in Connections theme.
It seems like a CSS issue, but I didn't find any bug or conflict yet.
Any idea?
Title: Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
Post by: Nibbler on January 28, 2009, 09:04:08 pm
Bug is here:

Code: [Select]
.breadlink (
That should be a brace not a parenthesis.
Title: Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
Post by: Ludo on January 29, 2009, 09:17:46 am
Yeah, it works!  8)
Thanks a lot for debugging, Nibbler!  :-*