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: GreenFlower : Theme for cpg1.4.x and WordPress 2.x  (Read 14767 times)

0 Members and 1 Guest are viewing this topic.

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
GreenFlower : Theme for cpg1.4.x and WordPress 2.x
« on: November 16, 2006, 02:56:19 am »

This is a simple 2 column WordPress theme by Sadish Bala at 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.

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
« Last Edit: November 16, 2006, 01:34:17 pm by Gizmo »
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
« Reply #1 on: November 16, 2006, 06:21:21 am »

Logged

Colt45

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
« Reply #2 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/
 
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
« Reply #3 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?
« Last Edit: January 28, 2009, 12:19:23 am by Ludo »
Logged

Nibbler

  • Guest
Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
« Reply #4 on: January 28, 2009, 09:04:08 pm »

Bug is here:

Code: [Select]
.breadlink (
That should be a brace not a parenthesis.
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: GreenFlower : Theme for cpg1.4.x and WordPress 2.x
« Reply #5 on: January 29, 2009, 09:17:46 am »

Yeah, it works!  8)
Thanks a lot for debugging, Nibbler!  :-*
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 24 queries.