Commits

tehfink  committed e32c55d

general cleanup, added screenshot

  • Participants
  • Parent commits 3257979

Comments (0)

Files changed (3)

 PRE-ALPHA
 
-Name: cmsplugin_photologue-project
-Description: provide a plugin bridge between django-cms2 & django-photologue, for plugins and page app attachment 
+Name: cmsplugin-photologue
+Description: provides a plugin bridge between django-cms2 & django-photologue, for cms plugins and page app attachment 
 Download: http://bitbucket.org/tehfink/cmsplugin-photologue/
 
 Requirements:
 
 Todo:
 - create variable to control root view displayed when attaching app to cms page
+- define CMSPLUGIN_PHOTOLOGUE_SAMPLE_SIZE per plugin
 
 
 Examples:

File cmsplugin_photologue/cms_plugins.py

     name = _("Photologue Gallery")
     render_template = "plugins/photologue_gallery.html"
 
-#    self.css = model.css
-
     def render(self, context, instance, placeholder):
         context.update({'gallery':instance.gallery, 'placeholder':placeholder})
         context.update({'queryset': Gallery.objects.filter(is_public=True), 'allow_empty': True, 'paginate_by': 5, 'sample_size':SAMPLE_SIZE, 'css' : instance.get_css_display()})

File plugin_screenshots.png

Added
New image