tehfink avatar tehfink committed e32c55d

general cleanup, added screenshot

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:

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()})
Added
New image
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.