Commits

tehfink  committed 2064ac3

fixed plugin path bug

  • Participants
  • Parent commits 5f2b92f
  • Branches cms-2.X

Comments (0)

Files changed (1)

File cmsplugin_photologue/cms_plugins.py

     model = PhotologueGalleryPlugin
     name = _("Photologue Gallery")
     text_enabled = True
-    render_template = "plugins/photologue_gallery.html"
+    render_template = "plugins/cmsplugin_photologue/photologue_gallery.html"
 
     def render(self, context, instance, placeholder):
         context.update({'gallery':instance.gallery, 'placeholder':placeholder})
     model = PhotologuePhotoPlugin
     name = _("Photologue Photo")
     text_enabled = True
-    render_template = "plugins/photologue_photo.html"
-        
+    render_template = "plugins/cmsplugin_photologue/photologue_photo.html"
+
     def render(self, context, instance, placeholder):
         context.update({'photo':instance.photo, 'placeholder':placeholder})
         context.update({'slug_field': 'title_slug', 'queryset': Photo.objects.filter(is_public=True), 'is_thumb' : instance.is_thumb, 'css' : instance.get_css_display()})