#5519 Menu Item Locations

Parent Category:
DPCalendar
Category:
Menu items
Last Updated:
Allon Moritz (laoneo), Monday, 22 July 2019 11:44 (Monday, 22 July 2019)
Created:
Wednesday, 22 February 2012 10:15 (Wednesday, 22 February 2012)
Hits:
609

Introduction

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.

Locations view

Resource panel

The resource panel shows a horizontal 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.

Column width

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;
}
Locations resource view

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.

Expand Events [Type: Radio] [Default: Yes]
Show the instances of a series or only the original event.
The following options are available:
  1. Yes
  2. No
Show Map [Type: Radio] [Default: Yes]
Should a map be shown.
The following options are available:
  1. Yes
  2. No
Map Zoom [Type: Text] [Default: 4]
The initial zoom level of the map.
Map Width [Type: Text] [Default: 100%]
The width of the map.
Map Height [Type: Text] [Default: 250px]
The height of the map.
Map Latitude [Type: Text] [Default: 47]
The initial latitude of the map.
Map Longitude [Type: Text] [Default: 4]
The initial longitude of the map.
Show Location [Type: List] [Default: Yes and expand]
Should the location of the event be shown?
The following options are available:
  1. No
  2. Yes
  3. Yes and expand
Show Upcoming Events [Type: Radio] [Default: Yes]
Should the upcoming events list being shown?
The following options are available:
  1. No
  2. Yes
Show Resource View [Type: Radio] [Default: Yes]
Should the resource view being shown?
The following options are available:
  1. No
  2. Yes
Default View [Type: List] [Default: Day]
The view which is shown when clicking the first time on a link.
The following options are available:
  1. Month
  2. Week
  3. Day
  4. Year
Show Datepicker Button [Type: Radio] [Default: Yes]
Should the datepicker button being shown.
The following options are available:
  1. No
  2. Yes
Show Title [Type: Radio] [Default: Yes]
Should the title in the header between the buttons being shown.
The following options are available:
  1. No
  2. Yes
Column Width [Type: Text]
The width of the columns. Value must be an integer.
Title Format Year [Type: Text] [Default: Y]
The format of the title in the year view (check http://www.php.net/date for details).
Title Format Month [Type: Text] [Default: F Y]
The format of the title in the month view (check http://www.php.net/date for details).
Title Format Week [Type: Text] [Default: M j Y]
The format of the title in the week view (check http://www.php.net/date for details).
Title Format Day [Type: Text] [Default: F j Y]
The format of the title in the day view (check http://www.php.net/date for details).
Time Format Year [Type: Text] [Default: g:i a]
The format of the time in the year view (check http://www.php.net/date for details).
Time Format Month [Type: Text] [Default: g:i a]
The format of the time in the month view (check http://www.php.net/date for details).
Time Format Week [Type: Text] [Default: g:i a]
The format of the time in the week view (check http://www.php.net/date for details).
Time Format Day [Type: Text] [Default: g:i a]
The format of the time in the day view (check http://www.php.net/date for details).
Axis Format [Type: Text] [Default: g:i a]
The format of the axis in the day and week view (check http://www.php.net/date for details).

Comments (0)

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information Ok Decline