Changing default view = Bug [With fix]
-
Hi everyone,
As I tried to use your plugin, I encounter a problem while changing the default view (In settings) from ‘List’ to ‘Month’.
Indeed, after doing this, you will not be able to go to List view anymore by selecting it in the dropdown list (on frontend). It will always through you to the default view which is ‘Month’ one.Warning : This behavior only occur when admin do not use permalink, causing the plugin to use “simple” ‘uglyLink’ function.
The corresponding Fix:
In file “the-events-calendar.class.php”, on line 2606 aftercase 'week':
, put :case 'list': $eventUrl = add_query_arg( array( 'eventDisplay' => $type ), $eventUrl );
Your faithfully,
Birmania
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Changing default view = Bug [With fix]’ is closed to new replies.