Skip to content
Browse files

Create a specific group for the Facebook plugins - makes it a bit nea…

…ter in the list of plugins.
  • Loading branch information...
1 parent 6521681 commit 3555b002aae386220bc02d662a9b188426afc08f @richardbarran richardbarran committed Aug 9, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 cmsplugin_facebook/cms_plugins.py
View
2 cmsplugin_facebook/cms_plugins.py
@@ -15,12 +15,14 @@ def render(self, context, instance, placeholder):
class FacebookLikeBoxPlugin(BasePlugin):
model = models.FacebookLikeBox
name = 'Facebook Like Box'
+ module = 'Facebook'
render_template = 'cmsplugin_facebook/likebox.html'
change_form_template = 'cmsplugin_facebook/likebox_change_form.html'
class FacebookLikeButtonPlugin(BasePlugin):
model = models.FacebookLikeButton
name = 'Facebook Like Button'
+ module = 'Facebook'
render_template = 'cmsplugin_facebook/likebutton.html'
change_form_template = 'cmsplugin_facebook/likebutton_change_form.html'

0 comments on commit 3555b00

Please sign in to comment.
Something went wrong with that request. Please try again.