Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.24 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.24 KB

Default Event Values

  • Version: 0.6
  • Author: Brendan Abbott
  • Build Date: 29th May 2012
  • Requirements: Symphony 2.3

Adds the ability to default values for your Events. This allows you to set a field's value while omitting the hidden field from your form markup. Values can be page parameters, excluding Datasources though as Events run before Datasources. You currently cannot set a default value for the ID of an Event due to a Symphony limitation.

Values can be added as defaults, which can be overridden by users, or can be made to override any value that is posted via the Frontend. Please note that other extensions that use the EventPreSaveFilter may change the values after this extension has done it's business.

How do I use it?

  1. Extract and install this extension to your /extensions folder

  2. While creating your events in the Event Editor, a new duplicator will appear after the Filter Options settings after you have created your event

  3. Save your event as normal and take a tequila shot, because tonight's going to be a good night.

Things to be aware of

  • Default values will not be added to the post-values Event XML
  • You cannot set the MAX_FILE_SIZE using this extension as the by the time it runs, it's already too late