Menu

#623 Counter Module

Parent Category:
DPCalendar
Category:
Modules
Last Updated:
Allon Moritz, Wednesday, 24 May 2023 12:54
Created:
Friday, 14 September 2012 22:23
Hits:
8417

DownloadPHP 7.4PHP 8Joomla 3.10Joomla 4.4Joomla 5

Introduction

The Counter Module shows a live counter to the next events.

Counter module

Filters

In the counter module the admin can set different filters for the events to display only what is needed.

Text filter

The text filter does search in the attributes title, alias, description of an event.

Author filter

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.

Location filter

A filter to display only events from the selected locations.

Options

Select calendar [Type: Dpcalendar]
The calendars which should be pre-selected. All subcalendars will be included as well also when deselected.
Filter [Type: Text]
Find events whose title/description/location contain this string.
Max events [Type: Text] [Default: 1]
The maximum count of events should be displayed.
Description limit [Type: Text]
Specify how much text will be be displayed from the event description. Empty means unlimited.
Open in popup [Type: Radio] [Default: No]
Should the events be opened as a modal popup.
The following options are available:
  1. Yes
  2. No
Show Year [Type: Radio] [Default: Yes]
Shows the year field in output.
The following options are available:
  1. Yes
  2. No
Show Month [Type: Radio] [Default: Yes]
Shows the month field in output.
The following options are available:
  1. Yes
  2. No
Show Week [Type: Radio] [Default: Yes]
Shows the week field in output.
The following options are available:
  1. Yes
  2. No
Show Day [Type: Radio] [Default: Yes]
Shows the day field in output.
The following options are available:
  1. Yes
  2. No
Show Hour [Type: Radio] [Default: Yes]
Shows the hour field in output.
The following options are available:
  1. Yes
  2. No
Disable Counter [Type: Radio] [Default: No]
Disable the javascript counting functionality.
The following options are available:
  1. Yes
  2. No
Filter Author [Type: Dpauthor] [Default: None]
Filters events by author. If my is set, then only events from the currently logged in user are shown.
The following options are available:
  1. My
  2. None
Filter Locations [Type: Location]
Only show events for the given locations. If empty, the filter has no influence.
Filter Tags [Type: Tag]
Only show events for the given tags. If empty, the filter has no influence.

Options

Date Start [Type: Text]
The start date, can be relative to now like '+1 day'. If you set 'start of day' then it will set the time to the beginning of the current day.
Layout [Type: Modulelayout]
Use a layout from the supplied module or overrides in the templates.
Module Class [Type: Text]
Custom CSS [Type: Textarea]
Custom CSS code which will be added to the HTML document.

Comments (0)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.