More colors in Event Options

Talk about anything that doesn't fit in the other catagories :) (and of course is about Group-Office)

Moderator: Developers

More colors in Event Options

Postby pictux » Wed Jan 07, 2009 5:26 pm

Hi all,
it's possible to add a bigger colors palette in Event Options as in the previous version?
In this new version is available a few colors...

Thanks!
M
pictux
 
Posts: 44
Joined: Thu Dec 04, 2008 9:02 am

Re: More colors in Event Options

Postby SirDemonCZE » Thu Jan 08, 2009 9:15 am

U can add in /modules/calendar/all-module-scripts-min.js and in /modules/calendar/EventDialog.js.
SirDemonCZE
 
Posts: 128
Joined: Thu Jul 26, 2007 6:30 am

Re: More colors in Event Options

Postby Intermesh » Thu Jan 08, 2009 10:11 am

You should add it to EventDialog.js only and then regenerate the minified script.

See here:

http://www.group-office.com/wiki/Creati ... _your_code
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7084
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch

Re: More colors in Event Options

Postby SirDemonCZE » Thu Jan 08, 2009 1:31 pm

WoW....good work with minify script. Speedy and easy :D
SirDemonCZE
 
Posts: 128
Joined: Thu Jul 26, 2007 6:30 am

Re: More colors in Event Options

Postby SirDemonCZE » Thu Jan 08, 2009 2:35 pm

Hi, im added any colors to your palette.

U can check here:
http://i41.tinypic.com/2mp0qih.jpg

If u will need it. U can write me.

I had small idea :)
SirDemonCZE
 
Posts: 128
Joined: Thu Jul 26, 2007 6:30 am

Re: More colors in Event Options

Postby Intermesh » Thu Jan 08, 2009 4:25 pm

Please post the code here.
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7084
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch

Re: More colors in Event Options

Postby SirDemonCZE » Thu Jan 08, 2009 5:49 pm

Here is code for 128 colors :):
Code: Select all
            /* Line 1 */
            'FB0467',
            'D52A6F',
            'CC3370',
            'C43B72',
            'BB4474',
            'B34D75',
            'AA5577',
            'A25E79',
            /* Line 2 */
            'FF00CC',
            'D52AB3',
            'CC33AD',
            'C43BA8',
            'BB44A3',
            'B34D9E',
            'AA5599',
            'A25E94',
            /* Line 3 */
            'CC00FF',
            'B32AD5',
            'AD33CC',
            'A83BC4',
            'A344BB',
            '9E4DB3',
            '9955AA',
            '945EA2',
            /* Line 4 */
            '6704FB',
            '6E26D9',
            '7033CC',
            '723BC4',
            '7444BB',
            '754DB3',
            '7755AA',
            '795EA2',
            /* Line 5 */
            '0404FB',
            '2626D9',
            '3333CC',
            '3B3BC4',
            '4444BB',
            '4D4DB3',
            '5555AA',
            '5E5EA2',
            /* Line 6 */
            '0066FF',
            '2A6ED5',
            '3370CC',
            '3B72C4',
            '4474BB',
            '4D75B3',
            '5577AA',
            '5E79A2',
            /* Line 7 */
            '00CCFF',
            '2AB2D5',
            '33ADCC',
            '3BA8C4',
            '44A3BB',
            '4D9EB3',
            '5599AA',
            '5E94A2',
            /* Line 8 */
            '00FFCC',
            '2AD5B2',
            '33CCAD',
            '3BC4A8',
            '44BBA3',
            '4DB39E',
            '55AA99',
            '5EA294',
            /* Line 9 */
            '00FF66',
            '2AD56F',
            '33CC70',
            '3BC472',
            '44BB74',
            '4DB375',
            '55AA77',
            '5EA279',
            /* Line 10 */
            '00FF00',
            '2AD52A',
            '33CC33',
            '3BC43B',
            '44BB44',
            '4DB34D',
            '55AA55',
            '5EA25E',
            /* Line 11 */
            '66FF00',
            '6ED52A',
            '70CC33',
            '72C43B',
            '74BB44',
            '75B34D',
            '77AA55',
            '79A25E',
            /* Line 12 */
            'CCFF00',
            'B2D52A',
            'ADCC33',
            'A8C43B',
            'A3BB44',
            '9EB34D',
            '99AA55',
            '94A25E',
            /* Line 13 */
            'FFCC00',
            'D5B32A',
            'CCAD33',
            'C4A83B',
            'BBA344',
            'B39E4D',
            'AA9955',
            'A2945E',
            /* Line 14 */
            'FF6600',
            'D56F2A',
            'CC7033',
            'C4723B',
            'BB7444',
            'B3754D',
            'AA7755',
            'A2795E',
            /* Line 15 */
            'FB0404',
            'D52A2A',
            'CC3333',
            'C43B3B',
            'BB4444',
            'B34D4D',
            'AA5555',
            'A25E5E',
            /* Line 16 */
            'FFFFFF',
            '949494',
            '808080',
            '6B6B6B',
            '545454',
            '404040',
            '292929',
            '000000'


Do you used this ?
SirDemonCZE
 
Posts: 128
Joined: Thu Jul 26, 2007 6:30 am

Re: More colors in Event Options

Postby Intermesh » Fri Jan 09, 2009 8:44 am

Ok, i'll add them.
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7084
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch


Return to Group-Office main discussion

Who is online

Users browsing this forum: No registered users and 2 guests