Commit 62ac6d5b authored by mattwire's avatar mattwire
Browse files

Release 1.0

parent 6ed6766b
# CiviCRM Advanced Events Extension
![Example Event Config](/docs/images/event_config_tab.png)
![Example Event Config](docs/images/event_config_tab.png)
![Advanced Event Settings](/docs/images/advanced_event_settings.png)
![Advanced Event Settings](docs/images/advanced_event_settings.png)
This extension provides a number of useful features to complement/improve the CiviEvent component in CiviCRM.
......@@ -23,7 +23,7 @@ The extension is licensed under [AGPL-3.0](LICENSE.txt).
## Installation
Download the latest release and install in the standard way. There are no special installation requirements.
See: https://docs.civicrm.org/sysadmin/en/latest/customize/extensions/#installing-a-new-extension
## Uninstall
......@@ -32,7 +32,3 @@ Uninstalling will remove all "Event Template" links. No event data will be lost
## Usage
Navigate to Administer->CiviEvent->Advanced Events Configuration.
## Compatibility
* We have a copy of `CRM_Core_Page_EntityPageTrait` as `CRM_AdvancedEvents_OldVersionEntityPageTrait`. This can be removed once we update the minimum version to 5.17.
* There are a number of functions in `CRM_AdvancedEvents_OldVersionSupportTrait` which can be removed once the minimum version is updated.
......@@ -87,19 +87,6 @@ function advanced_events_civicrm_managed(&$entities) {
_advanced_events_civix_civicrm_managed($entities);
}
/**
* Implements hook_civicrm_caseTypes().
*
* Generate a list of case-types.
*
* Note: This hook only runs in CiviCRM 4.4+.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
*/
function advanced_events_civicrm_caseTypes(&$caseTypes) {
_advanced_events_civix_civicrm_caseTypes($caseTypes);
}
/**
* Implements hook_civicrm_angularModules().
*
......@@ -211,7 +198,6 @@ function advanced_events_civicrm_tabset($tabsetName, &$tabs, $context) {
}
function advanced_events_civicrm_links($op, $objectName, $objectId, &$links, &$mask, &$values) {
//create a "Enable/Disable Auto-Renew link with the context of a contact membership
switch ($objectName) {
case 'Event':
switch ($op) {
......
# CiviCRM Advanced Events Extension - Development
* Implementing event template permissions (https://redmine.palantetech.coop/issues/44399). Currently not supported via API and may not cover all forms/pages.
# CiviCRM Advanced Events Extension
![Example Event Config](/images/event_config_tab.png)
This extension provides a number of useful features to complement/improve the CiviEvent component in CiviCRM.
![Advanced Event Settings](/images/advanced_event_settings.png)
It provides a more useful replacement for the event template functionality.
This extension provides a number of useful features to complement/improve the CiviEvent component in CiviCRM.
## Examples
#### List of event templates
![List of event templates](images/event_templates_list.png)
The extension is licensed under [AGPL-3.0](LICENSE.txt).
#### "Activity Group" Template
![Activity group template](images/event_template_activity_group.png)
## Features
* Ability to hide functionality in the UI that is not required (eg. Tell a Friend, Personal Campaigns).
* Replace existing repeat events functionality with new based directly on Event templates.
* Add an "Event Search/Selector" that allows "Copy Participants" and "Delete Event" actions.
* Allow to create templates from existing events.
* Replaces "Manage Event Templates" with a new datatables based page.
* Ability to hide functionality in the UI that is not required (eg. Tell a Friend, Personal Campaigns)
![Advanced Event Settings](images/advanced_event_settings.png)
![Example Event Config](images/event_config_tab.png)
## Requirements
* Replace existing repeat events functionality with new based directly on Event templates.
* Add an "Event Search/Selector" that allows "Copy Participants" and "Delete Event" actions:
![manage linked events](images/manage_linked_events.png)
* PHP v7.1+
* CiviCRM 5.13+
* Replaces "Manage Event Templates" with a new datatables based page.
* Add Copy template link to event templates list:
![copy template link](images/manage_event_templates.png)
* Add ability to create templates from existing events:
![Create template from event](images/create_template_from_event.png)
### CiviCRM 5.13
Recommended: https://github.com/civicrm/civicrm-core/pull/14617 - Fix redirection on manage event tabs
* Adds an EventTemplate API.
* Adds event template permissions.
### CiviCRM 5.7
Requires: https://github.com/civicrm/civicrm-core/pull/12769
Recommended: https://github.com/civicrm/civicrm-core/pull/12747 *without this change some page/form redirects may go to the wrong tab on submit (eg. "Info and Settings" instead of "Repeat")*
## Permissions
### CiviCRM 5.6
Requires: https://github.com/civicrm/civicrm-core/pull/12781 *Without this change advanced events will not work correctly.*
The following permissions for events are implemented for this extension:
* CiviEvent: Create Event.
* CiviEvent: View own event templates.
* CiviEvent: View all event templates.
* CiviEvent: Edit own event templates.
* CiviEvent: Edit all event templates.
* CiviEvent: Delete own event templates.
* CiviEvent: Delete all event templates.
### CiviCRM 5.5
If using event locations you may require: https://github.com/civicrm/civicrm-core/pull/12459
## Requirements
* PHP v7.2+
* CiviCRM 5.24+
## Installation
Download the latest release and install in the standard way. There are no special installation requirements.
## Uninstall
## Uninstallation
Uninstalling will remove all "Event Template" links. No event data will be lost but events will no longer be linked to templates.
## Usage
Navigate to Administer->CiviEvent->Advanced Events Configuration.
Navigate to Administer->CiviEvent->Advanced Events Configuration to configure.
## Compatibility
To find events by template: Events->Find (Events by template).
* We have a copy of `CRM_Core_Page_EntityPageTrait` as `CRM_AdvancedEvents_OldVersionEntityPageTrait`. This can be removed once we update the minimum version to 5.17.
* There are a number of functions in `CRM_AdvancedEvents_OldVersionSupportTrait` which can be removed once the minimum version is updated.
To manage event templates: Events->Event Templates.
## Release 1.0
* Compatibility fixes for later versions of CiviCRM (minimum version now 5.24).
* Add event template permissions.
* Make sure we always set created_id and created_date.
* Add Copy template link to event templates list.
* Add docs framework.
* Add ability to create templates from existing events.
## Release 0.10
* EventTemplate.create API now accepts event_id to create a template from an existing event.
......
......@@ -9,7 +9,7 @@
<email>mjw@mjwconsult.co.uk</email>
</maintainer>
<urls>
<url desc="Main Extension Page">https://lab.civicrm.org/extensions/civicrm-advanced-events/</url>
<url desc="Main Extension Page">https://lab.civicrm.org/extensions/civicrm-advanced-events</url>
<url desc="Support">https://mjw.pt/support/advancedevents</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment