WordPress.org

Ready to get started?Download WordPress

Forums

WP Calendar
FSE_GROUPBY_NONE ignored by fse_print_events_list (2 posts)

  1. jhoffman255
    Member
    Posted 2 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?

    http://wordpress.org/extend/plugins/wp-calendar/

  2. faebu
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for your solution. applied in next update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.