question about theme.inc and colorpack

ProperPictures

Joined: 2009-07-30
Posts: 2
Posted: Thu, 2009-07-30 12:28

I am a newbie to Gallery, so forgive me if this is a noob question.

I want to chance the colours of the carbon theme to the colours I use on my website. Therefore I installed colorpack and I am confident I will manage with a little trial and error. But there is one thing I don't understand and that is this line from the explanation (http://codex.gallery2.org/Gallery2:Modules:colorpack#Setting_a_colorpack_as_default_for_a_theme):

Open the theme.inc file of your theme and search for the setStandardSettings array. Set the value of the colorpack element to the dirname of your colorpack

How and what is the value of the colorpack element? What do they expect me to put in there and how?

I hope my question is clear. Thanks in advance for the answer.

ProperPictures

 
jacquesfrancis

Joined: 2009-07-30
Posts: 1
Posted: Thu, 2009-07-30 13:28

Hello

A 'colorpack' refers to a folder containing the 'color.css' file.

Look in gallery2/modules/colorpack/packs and you'll see a list of folders, each of which contains a file called 'color.css', and this folder + file represents a 'colorpack'. For example, one's called bluebottle, and you might copy it to a new folder called 'gallery2/modules/colorpack/packs/skyblue', which you play around with to give you your new colour scheme. Once you've changed the color.css, save it, then go into your theme and pick it from the drop-down box which will, miraculously, additionally contain a list entry called 'skyblue'. Hope this helps.

 
ProperPictures

Joined: 2009-07-30
Posts: 2
Posted: Thu, 2009-07-30 13:39

Aha! I missed that Pull Down menu!

Thanks jacquesfrancis!