Events Calendar Views Content Type
ID: 394
Name: Events Calendar Views
Description: Events Calendar Views to show only the modules you need
Content Element Details
Name | Description | Size | Type | Required |
---|---|---|---|---|
Name | The Name element | 80 Characters | Plain Text | true |
Events Calendar Config Link | Events Calendar Section Link | 80 Characters | Section/Content Link | true |
View | View that you want to see | 80 Characters | Select Box | true |
Position in the page | Select where the view will appear in the Page Layout | 80 Characters | Select Box | true |
Main View Section | Use when you load the module in a different page | 80 Characters | Section/Content Link | false |
Options | Optional Settings | 5000 Characters | Plain Text | false |
How to use:
- Select the section where the PHP Events Calendar Configuration is for the PHP Events Calendar Config Link
- Select a view file from Media Library folder Categorised > Flcc.edu > Developer Assets > Events Calendar > views > modules, see available views
- Enter the custom link text
- Choose a Position in the page for the view to display: Default (to display in the main body), or Sidebar (see adding the Sidebar)
- Optionally select the main section from the Site Structure where the Events Calendar is being displayed if this is different to the section where the PHP Events Calendar Configuration is
- Optionally add additional settings to Options, see Calendar Module Configurable Options on the T4 documentation for a full list of options
Views:
- General Page (Heading + List)
- Headings
- Results List
- Large Calendar View
- Search > General Field
- Search > Categories
- Calendar Switcher, Calendar-Switches.blade.php
- Mini Calendar, Calendar-Mini.blade.php
- Event Fulltext Settings
- Past Events
Adding the Sidebar:
Sidebar views are added to a child section called 'Sidebar', which is pulled into Two Column pages. Ensure 'Sidebar' has a capital S and the Show in navigation element on the general tab of the section is unchecked (the folder icon in the Site Structure is not filled, see screenshot below). The sidebar is configured to be inherited, therefore if a section does not have a 'Sidebar' child section it will look up the levels of the Site Structure to find one.
Take the structure of the Events Calendar which has been set up below. Events are added to the Events section, this does not have a 'Sidebar' child section, therefore the Sidebar section from the level above is pulled in.