Adding new color to Event Colors

10 views
Skip to first unread message

b...@icuk.eu

unread,
Feb 14, 2014, 6:30:56 AM2/14/14
to myev...@googlegroups.com
Hello All,

As i have done this today for a client i thought i would share the information:

To add a new highlight color for the Events Calendar:


1.Find EventOn in your plugins folder

2. Open admin/post_types/ajde_events_meta_boxes.php

3. On about line 33, you can see a number of hex codes:

$color_array=array(
1=>'#5484ED','#46D6DB','#51B749','#fbc406','#ff690f','#ed0f16','#b6b6b6'
);

4. Simply add your new hex codes and add a comma at the end of the previous record:
'#b6b6b6', '#newhex'

Make sure you have no comma at the end of the last hex item.

Hope this helps someone.

myEventON

unread,
Feb 14, 2014, 5:09:09 PM2/14/14
to myev...@googlegroups.com, b...@icuk.eu
Ben,

I appreciate you sharing this however, which ersion of eventON are you running? because at the current version you can use color picker to easily add your own colors to events.

- Ashan
Reply all
Reply to author
Forward
0 new messages