What is a plugin?
A Floktu plugin is a collection of HTML, CSS and JavaScript files which can be run on a Floktu event site. Plugins help you extend the functionality of your site, by adding code to perform a specific function.
The plugin is a ZIP file which contains:
- A manifest file, which defines the content of the plugin.
- The HTML, CSS and Javascript files required by the plugin.
Please note:
- Plugins added by the event manager are not supported by Floktu. Floktu is not responsible for the operation of user-created plugins.
- We do not provide customer service support to users for plugin creation.
- If you are interested in Floktu creating a plugin for you, please contact support@floktu.com to discuss scope of work based on which we can provide you a quote.
Creating a plugin
- login to Floktu
- select 'Menu'
- select 'Plugin Settings'
- select 'Update or install new plugins'
- select 'Add'
- download the example plugin file from this page, and unzip it
- add your HTML, CSS and JavaScript files to the folder
- Edit the manifest file (see below)
- Zip the folder
Editing the manifest file
The manifest file is a JSON file which contains the settings for the plugin.
The properties of the manifest are:
- name - The name of the plugin, which will appear in the event's plugin settings.
- description - A description of the function of the plugin.
- files - A list of the HTML, CSS and Javascript files that are used by the plugin. Each file entry has the following properties:
- filename - The name of the file
- location - The location on the page the content of the file will appear in (for HTML files). Valid locations are:
- content_top
- content_bottom
- sidebar_top
- sidebar_bottom
Uploading a plugin
Once you have created a plugin, to upload it, you will need to;
- login to Floktu
- select 'Settings'
- select 'Plugin Settings'
- select 'Update or install new plugins'
- select 'Add'
- upload your plugin
- select 'Import'
This will upload the plugin to your Floktu account. You can then enable it for any of your events - see 'How do I enable / disable plugins for an event?'
Comments
0 comments
Please sign in to leave a comment.