Elgg community plugin repository
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.tx chore(i18n): Get community_plugins transifex-ready Jan 5, 2015
actions/plugins
classes fixed(misc): fixed a lot of issues from legacy code Dec 7, 2017
graphics
languages fixed(misc): fixed a lot of issues from legacy code Dec 7, 2017
lib
tests/Elgg/CommunityPlugins fix(urls): saner urls for projects and releases Oct 6, 2014
views
.gitignore
README.md added a link to the readme so that people can find the canonical repo… Jun 4, 2011
activate.php
composer.json chore(elgg): increased minimal elgg required version to 2.3 Dec 7, 2017
composer.lock feat(screenshots): use lightbox gallery instead of smoothproducts to … Dec 29, 2016
deactivate.php chore(plugin): updated (de)activate scripts Dec 7, 2017
manifest.xml chore(elgg): increased minimal elgg required version to 2.3 Dec 7, 2017
start.php feat(screenshots): use lightbox gallery instead of smoothproducts to … Dec 29, 2016
views.php feat(screenshots): use lightbox gallery instead of smoothproducts to … Dec 29, 2016

README.md

Elgg Community Plugin Repository

Data Model

There are two primary classes: PluginProject and PluginRelease. A PluginProject holds the general information about a plugin such as its description, license, and categories. The PluginRelease holds the release notes and the actual zip file or tarball. A PluginProject serves as the container for one or more PluginReleases.

Views Structure

The repository uses its own layout for many of the pages. This layout has a right sidebar, a main content area, and an optional footer. The other pages use the default sidebar on left with a main content area.

Search

Search uses Elgg's search plugin with its own custom hook: plugins_search_hook(). The hook makes sure that category selection is used and searches over some metadata fields. To support Elgg's search plugin, it also defines some views that are automatically picked up. This can be hard to follow if you do not have experience with the search plugin (or maybe it is just always hard to follow).

Contributions

What to contribute to the plugin repository? The first step is getting a Github account and forking the git repository.