1. tehfink
  2. cmsplugin-photologue

Commits

tehfink  committed 3e82379

created README

  • Participants
  • Parent commits d23d8fb
  • Branches default

Comments (0)

Files changed (1)

File README.txt

View file
+PRE-ALPHA
+
+Download:
+http://github.com/tehfink
+
+
+Requirements:
+- django-photologue: 2.2
+- django-cms-2.0: rev 28911b424c64330ba66e599028031bd22b5b3355
+- django: 1.1
+
+
+Last tested with:
+- django-photologue: rev 405
+- django-cms-2.0: rev 28911b424c64330ba66e599028031bd22b5b3355
+- django: rev 11600
+
+
+Setup
+- make sure requirements are installed and properly working
+- add cmsplugin_photologue to python path
+- add 'cmsplugin_photologue' to INSTALLED_APPS
+- add ('cmsplugin_photologue.urls', 'Photologue plugin app') to CMS_APPLICATIONS_URLS
+- run 'python manage.py synced'
+- add plugins to pages, or attach 'Photologue plugin app' to a page
+
+
+Optional
+- define CMSPLUGIN_PHOTOLOGUE_SAMPLE_SIZE, CMSPLUGIN_PHOTOLOGUE_CSS_CHOICES in settings
+- copy cmsplugin_photologue/templates/plugins/ to your project directory
+
+
+Examples:
+CMSPLUGIN_PHOTOLOGUE_CSS_CHOICES = (('0', ''),('1', 'left'),('2', 'right'),('3', 'center'),) )
+- adds an optional css class to the gallery or photo enclosing div in the plugin template
+
+CMSPLUGIN_PHOTOLOGUE_SAMPLE_SIZE = 3
+- overrides photologue.urls.SAMPLE_SIZE : 'Number of random images from the gallery to display.'
+
+
+Todo:
+- create variable to control root view displayed when attaching app to cms page