DownloadPHP 7.4PHP 8Joomla 3.10Joomla 4.4Joomla 5
The Locations menu item shows a map and the location details of the selected locations. Additionally can a resource panel being activated and a list of upcoming events which do belong to the selected locations.
On top of each location is a map and direction button shown. These buttons are direct links to the map provider's web site. Especially on smartphone's this is handy as it allows the visitor to quickly open the maps app and find the fastest route from their current location.
How to setup the map providers and more is documented in the maps Introduction article.
The locations menu item has a grouping parameter which allows to group the locations for cerrtain fields. For example when you want to group by countries, set it to country. Then the view lists the location below the criteria. If you set the "Show Locations" parameter to Yes (not expanded), then the locations will be listed with three columns.
If you have a lot of locations and want to provide for them nice looking urls. Then you can create a menu item in a hidden menu and select the "All" option in the location select box. Then for all your locations are sef urls generated and you don't have to select them always in the menu item after creation.
The resource panel shows a timeline grid of events for the selected locations and rooms (when available). There are four different type views the visitor can choose between.
When you have the create event permission and are clicking in a date cell for a room, then the event form gets opened with the location and room preselected.
In the options you can define the column width globally for all views. Ff you want to change it per view, it becomes a bit more complicated as this needs to be done through CSS (the library we are using does not support it yet by parameter). Put the following CSS code into your template CSS file and change the width, according to your needs. Make sure that it gets loaded after the DPCalendar CSS files.
.com-dpcalendar-locations .fc-timelineYear-view .fc-time-area col { min-width: 100px !important; }.com-dpcalendar-locations .fc-timelineMonth-view .fc-time-area col { min-width: 100px !important; }.com-dpcalendar-locations .fc-timelineWeek-view .fc-time-area col { min-width: 100px !important; }.com-dpcalendar-locations .fc-timelineDay-view .fc-time-area col { min-width: 100px !important; }
In the locations menu item the admin can set different filters for the events to display only what is needed.
When filtering for an author, then only events of a given user are shown within the calendar. There is a special "My" option available which displays only events of the current logged in user.
A filter to display only events from the selected tags. Tags can be set while editing an event.
The settings can be configured globally in the DPCalendar options or per menu item. If the value is empty in the menu item, then it will be inherited from the global options.
Comments (0)