WP Calendar
FSE_GROUPBY_NONE ignored by fse_print_events_list (2 posts)

  1. jhoffman255
    Posted 3 years ago #

    Plugin version 1.5.0
    In Settings: Global Settings, Group by does not have a choice for 'none'. (fsCalendarSettings.php line 425 select fse_groupby missing option for 'None' with value of ""). Added this option to get it to work globally:
    <option value=""<?php echo (get_option('fse_groupby') == '' ? ' selected="selected"' : ''); ?>><?php _e('None', fsCalendar::$plugin_textdom); ?></option>

    Also, when using fse_print_events_list(), setting 'groupby=>FSE_GROUPBY_NONE' in the $args array is ignored. In fsCalendar.php line 1163
    case 'groupby': if (in_array($a, array('d','m','y'))) is missing an empty array member. If I change the array to: array('','d','m','y'), FSE_GROUPBY_NONE works as expected.

    Can you fix in the next update?


  2. faebu
    Plugin Author

    Posted 3 years ago #

    Thanks for your solution. applied in next update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.