Introduction
This is a Django CMS
plugin for incorporating photologue
galleries.
Installation
First, you must install Django CMS
and photologue
which require Django
and a few other libraries such as PIL
. For full details, see the installation
instructions for those packages.
Install cmsplugin-phlog
to your environment with a tool such as PIP
,
setuptools
, or buildout
.
Add cmsplugin_phlog
to the INSTALLED_APPS
list in your project's
settings.py
and run the syncdb
command on your manage.py
.
.. _Django: http://www.djangoproject.com/
.. _Django CMS: https://www.django-cms.org/
.. _photologue: http://code.google.com/p/django-photologue/
.. _PIL: http://www.pythonware.com/products/pil/
.. _PIP: http://www.pip-installer.org/
.. _setuptools: http://pypi.python.org/pypi/setuptools/
.. _buildout: http://pypi.python.org/pypi/zc.buildout/
What's Inside
In order to facilitate ordering of the galleries on display, there is a new
photologue
gallery with ordering support called OrderedGallery
. This model
can be linked using a CMS plugin to display photos on your page.
The default rendering of the gallery plugin is an unordered list of images. This
can be overridden by placing a template in your project's template folder at
cms/plugins/phlog/gallery.html
to override all rendering or at
cms/plugins/phloge/{{ placeholder }}-gallery.html
to override the template
for a single placeholder (by name).
0.3.1 (2013/06/26)
- Added proper ordering to gallery rendering
0.3 (2013/06/07)
- Added copy relations to plugin for CMS publishing support
- Fixed JS locations
- Some upgrades and added some logging
0.2.4.2 (2013/04/08)
- Repackage to get static files and templates
0.2.4.1 (2013/03/14)
- Fixed an import error
- Fixed a typo bug
0.2.4 (2013/03/13)
- Updated to use static files app
- Updated widget for new statics
0.2.3 (2012/01/11)
- Added width and height attributes to Phlog Galleries
0.2.2 (2011/12/01)
- Fixed a bug when a phlog photo plugin is added without a photo
0.2.1 (2011/10/14)
- Fixed a bug with the rendered order of Phlog Galleries
0.2 (2011/08/04)
- Deprecated 0.1 gallery
- Added a gallery plugin that allows for other plugins to be added as items in
the gallery
- Added a Photo plugin for adding photologue photos to a page (and not the site
wide photo manager)
- Added South integration
0.1 (2011/05/11)
- Ordered Photologue gallery added
- CMS Plugin for ordered photologue gallery added
- Admin configuration of new ordered gallery