DownloadPHP 7.4PHP 8Joomla 3.10Joomla 4.4Joomla 5
The Location menu item shows a map and the details of a single location. Additionally can a resource panel being activated and a list of upcoming events which do belong to the selected location.
On top of the view 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 resource panel shows a timeline grid of events for the selected location and their 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. If 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-location .fc-timelineYear-view .fc-time-area col { min-width: 100px !important; }.com-dpcalendar-location .fc-timelineMonth-view .fc-time-area col { min-width: 100px !important; }.com-dpcalendar-location .fc-timelineWeek-view .fc-time-area col { min-width: 100px !important; }.com-dpcalendar-location .fc-timelineDay-view .fc-time-area col { min-width: 100px !important; }
In Joomla is the page heading defined in the menu item. Locations are normally created under the url of a locations list. So the page heading setting is inherited. Means the list and the location details page will have the same page heading (normally rendered with the h1 tag). This is a SEO issue as you loose the h1 title in the location details page. The show page heading setting in the location view overrides this setting. Like that you can have a page heading in the list menu item and at the same time the title is rendered in the location details page with h1 as well.
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.
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.
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)