123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- Plugins
- #######
- Plugins can modify the behavior of and add new features to Elgg.
- .. contents:: Contents
- :depth: 2
- :local:
- Where to get plugins
- ====================
- Plugins can be obtained from:
- * `The Elgg Community`_
- * `Github`_
- * Third-party sites (typically for a price)
- If no existing plugins meet your needs, you can `hire a developer`_ or :doc:`create your own </guides/index>`.
- .. _The Elgg Community: http://community.elgg.org/plugins
- .. _Github: https://github.com/Elgg
- .. _hire a developer: http://community.elgg.org/groups/profile/75603/professional-services
- The Elgg Community
- ==================
- Finding Plugins
- ---------------
- Sort based on most popular
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- On the community plugin page, you can sort by date uploaded (Filter: Newest) or number of downloads (Filter: Most downloads). Sorting by the number of downloads is a good idea if you are new to Elgg and want to see which plugins are frequently used by other administrators. These will often (but not always) be higher quality plugins that provide significant capabilities.
- Use the plugin tag search
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Next to the filtering control on the plugin page is a search box. It enables you to search by tags. Plugins authors choose the tags.
- Look for particular plugin authors
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- The quality of plugins varies substantially. If you find a plugin that works well on your site, you can check what else that plugin author has developed by clicking on their name when viewing a plugin.
- Evaluating Plugins
- ------------------
- Look at the comments and ratings
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Before downloading and using a plugin, it is always a good idea to read through the comments that others have left. If you see people complaining that the plugin does not work or makes their site unstable, you probably want to stay away from that plugin. The caveat to that is that sometimes users ignore installation instructions or incorrectly install a plugin and then leave negative feedback. Further, some plugin authors have chosen to not allow comments.
- Install on a test site
- ^^^^^^^^^^^^^^^^^^^^^^
- If you are trying out a plugin for the first time, it is a bad idea to install it on your production site. You should maintain a separate test site for evaluating plugins. It is a good idea to slowly roll out new plugins to your production site even after they pass your evaluation on your test site. This enables you to isolate problems introduced by a new plugin.
- Types of plugins
- ================
- Themes
- ------
- Themes are plugins that modify the look-and-feel of your site. They generally
- include stylesheets, client-side scripts and views that alter the default
- presentation and behavior of Elgg.
- Language Packs
- --------------
- Language packs are plugins that provide support for other languages.
- Language packs can extend and include translations for language strings
- found in the core, core plugins and/or third-party plugins.
- Some of the language packs are already included in the core, and can be found in
- ``languages`` directory off Elgg's root directory. Individual plugins tend to
- include their translations under the ``languages`` directory within the plugin's
- root.
- This structure makes it easy to create new language packs that supercede existing
- language strings or add support for new languages.
- Installation
- ============
- All plugins reside in the ``mod`` directory of your Elgg installation.
- To install a new plugin:
- * extract (unzip) contents of the plugin distribution package
- * copy/FTP the extracted folder into the ``mod`` directory of your Elgg
- installation, making sure that ``manifest.xml`` and ``start.php`` are
- directly under the plugin directory (e.g. if you were to install a plugin called
- ``my_elgg_plugin``, plugin's manifest would need to be found at
- ``mod/my_elgg_plugin/manifest.xml``)
- * activate the plugin from your admin panel
- To activate a plugin:
- * Log in to your Elgg site with your administrator account
- * Go to Administration -> Configure -> Plugins
- * Find your plugin in the list of installed plugins and click on the
- 'enable' button.
- .. _admin/plugins#plugin-order:
- Plugin order
- ============
- Plugins are loaded according to the order they are listed on the Plugins page. The initial ordering after an install is more or less random. As more plugins are added by an administrator, they are placed at the bottom of the list.
- Some general rules for ordering plugins:
- - A theme plugin should be last or at least near the bottom
- - A plugin that modifies the behavior of another plugin should be lower in the plugin list
- Pre-1.8 notes
- =============
- In Elgg 1.7 and below, the interface for managing installed plugins is located at
- Administration -> Tool Administration.
|