EvEvent Plugin
==============

Authors: Andy Carter


Introduction
------------

Simple events plugin including event categories.


Installation
------------

This is a composer plugin so from www/app just run composer as:-

	composer require evoluted/event

To setup the database use the CakeDC Migrations plugin. To run the migrations and setup the database run:-

	Console/cake Migrations.migration run all --plugin EvEvent

Add the following to the plugin load array in 'app/Config/bootstrap.php':-

	'EvEvent' => array(
		'bootstrap' => true,
		'routes' => true
	)

You will want to add a couple of entries to the admin menu for managing events:-

* /admin/ev_event/events/
* /admin/ev_event/event_categories/

To setup/override the plugin's default config create a new config file 'app/Config/Plugin/ev_event.php'. The following options are available:-

* page_id - page to use for setting the events listing page's title, description and meta data.
* snippet_length - allows you to set the maximum length of description text used on listing pages (default: 85).
* default_country_id - default country_id to be used on the admin forms for setting the event address.

Everything should be good to go after this with an events section found at '/events'.


Extending Plugin
----------------

The usual rules apply, don't edit the plugin directly but override it from within your own app. For example, you can override the view templates by creating new views in '/app/View/Plugin/EvEvent/'.