A few bugs that should be fixed for next version.
-
Hello, we are using your calendar on your site. Right now there was no option to change the color of the more link. We had to add the line, wpfc_limit_color to our database in order to change the option. Another thing is that there is no way to change the default color of which events do not have a category. The color is green. We had modify wpfc-events-manager.php in the plugin in order to change it from green to white around line 215 in hte function wpfc_em_ajax. We changed this
foreach ( $EM_Events as $EM_Event ) {
/* @var $EM_Event EM_Event */
$color = “#fff”;
$textColor = ‘#fff’;
$borderColor = ‘#777’;
if ( !empty ( $EM_Event->get_categories()->categories )) {
foreach($EM_Event->get_categories()->categories as $EM_Category){
/* @var $EM_Category EM_Category */
if( $EM_Category->get_color() != ” ){
$color = $borderColor = $EM_Category->get_color();
if( preg_match(“/#fff(fff)?/i”,$color) ){
$textColor = ‘#777’;
$borderColor = ‘#ccc’;
}
break;
}
}
}
- The topic ‘A few bugs that should be fixed for next version.’ is closed to new replies.