TestCalendarCustomModal is a plugin to test the "AppointmentCustomModal" plugin slot. It is only for test purposes.
Minimum ILIAS Version: 5.3.0
Maximum ILIAS Version: 5.4.999
Responsible Developer: Jesús López Reyes - lopez@leifos.com
Supported Languages: This plugin does not support any language. All text is hardcoded in the php files.
-
Clone this repository inside the directory <ILIAS_directory>/Customizing/global/plugins/Services/Calendar/AppointmentCustomModal/
or download the zip file, extract the zip file and then copy the content of the folder inside the directory <ILIAS_directory>/Customizing/global/plugins/Services/Calendar/AppointmentCustomModal/
-
Login to ILIAS with an administrator account (e.g. root)
-
Select Plugins from the Administration main menu drop down.
-
Search the TestCalendarCustomModal plugin in the list of plugins and choose Activate from the Actions drop down.
This plugin add/change content in the default appointment presentation (modals). Modifications are visible in the Personal Desktop calendar and in the marginal calendar located in courses and groups.
-
The title of the modal is displayed in green color with bold capital letters.
-
If the appointment is FULL DAY event:
- The toolbar is replaced with another one which shows the text: "Toolbar replaced by the plugin 'TestCalendarCustomModal'"
- All the content is replaced with a blue box containing:
- Message: "The plugin 'TestCalendarCustomModalPlugin' replaces the content of full day events."
- Random image.
-
If the appointment is NOT FULL DAY event:
-
The toolbar contains an extra text: "Text added by the plugin 'TestCalendarCustomModal'"
-
The infosceen displays an extra field called "Plugin info" with this value "This text is created by the plugin 'TestCalendarCustomModal'"
-
Depending of the event this content is added.
- If it is a session event: Orange box with the text "This modal contains Session Information".
- If it is another kind of ILIAS object: Light green box with the text "This modal contains Object info"
- If it is not an ILIAS object (e.g. consultation hours): Light blue box with the text "This modal doesn't contain Object info"
In all the cases a random image is added just below the text.
-
-