Jump to content

Recommended Posts

Posted

in the latest version of calendar (4.7.3)  $event->container()->url() appears to be hard coded to always use the '?view=month'  url no matter what the default calendar view is set to

in /sources/calendar/calendar.php the previous version had

public static $urlBase = 'app=calendar&module=calendar&controller=view&id=';

in the latest version it is set to

public static $urlBase = 'app=calendar&module=calendar&controller=view&view=month&id=';

  • 2 weeks later...
Posted (edited)
3 hours ago, Andy Millne said:

Yes this is intended. There is no container specific filtering on the overview page.

thanks for the reply Andy @Andy Millne

ok understand that working as above is fine and should be intended if you are indeed using the 'overview' as per the selected option

however if you are not using the 'overview' as the default selection, say you select the 'week view' as default then  every event will have a link that will  now send viewers to the 'month' page and the same for any calendars using  'day view'

which to someone using the week or day view as 'default' choice does bring in major usability issues along with seo  ones

 

Could you not add a 'if \IPS\Settings::i()->calendar_default_view== overview add the ?view=month ' and if not..

then leave the static url as generic so that the week, and day views choices as default are then respected and followed?

thanks

 

 

Edited by sound
  • 4 weeks later...
  • 1 month later...
Posted

This has now been resolved in our latest 4.7.6 release. Please upgrade to that release if you are seeing this issue. If you have the same problem after upgrading, please let us know.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...