coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: sharky on October 28, 2007, 12:45:48 PM

Title: colors for categories
Post by: sharky on October 28, 2007, 12:45:48 PM
hi all! when you upload files, youre asked to select a category and a album for the upload. it looks like this:

category A --> album 1
category A --> album2
category A --> album3
category A --> album4
category A --> album5
category A --> album6
category B --> album7
category B --> album8
category C --> allbum9
category C --> album10

is it possible to have the categories in different colors? something like this:

red text --> album 1
red text--> album2
red text --> album3
red text --> album4
red text --> album5
red text --> album6
blue text --> album7
blue text --> album8
green text --> allbum9
green text --> album10

it would make the category recognition much easier if you have (like me) more then 20 categories.

thank you

igor


Title: Re: colors for categories
Post by: sharky on October 28, 2007, 01:31:50 PM
oh sorry i forgot to say that i am talking about the OSX template. in the others it is different.
Title: Re: colors for categories
Post by: sharky on October 28, 2007, 01:33:00 PM
sorry MAC OX X
Title: Re: colors for categories
Post by: François Keller on October 28, 2007, 01:56:41 PM
It's not a feature request,but a support request, moved from the feature request board (http://forum.coppermine-gallery.net/index.php?topic=47882.msg228876;boardseen#new) to here

next time, post in the appropriate board.
Title: Re: colors for categories
Post by: Joachim Müller on October 29, 2007, 08:02:58 AM
You can't use font colors within <select><option>-constructs afaik, so the answer would be: impossible.
Title: Re: colors for categories
Post by: Nibbler on October 29, 2007, 09:13:14 AM
You can, actually. I don't know if it is valid but it works.
Title: Re: colors for categories
Post by: sharky on October 29, 2007, 11:30:30 AM
thank you all for your replies.

nibbler is it difficult to create the mod youre talking about?

could you please do it?

thank you

igor
Title: Re: colors for categories
Post by: Joachim Müller on October 29, 2007, 06:24:43 PM
Edit upload.php, find <optionand edit the stuff around that section as you see fit.
Title: Re: colors for categories
Post by: sharky on October 31, 2007, 05:10:10 PM
hi gau gau!
thanks for your reply.
i found the peace youre talking about but i never coded in php and have no idea of it. could you please help me? thank you

igor
Title: Re: colors for categories
Post by: Joachim Müller on November 01, 2007, 11:39:19 AM
Plain HTML and CSS, no PHP involved.