Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add some help text to explain to end users what the different buttons…

… do.
  • Loading branch information...
commit 116087a28fdda356d8b2ac74404823fb3f50ec5e 1 parent 545ff0e
@richardbarran richardbarran authored
View
2  cmsplugin_facebook/cms_plugins.py
@@ -16,11 +16,13 @@ class FacebookLikeBoxPlugin(BasePlugin):
model = models.FacebookLikeBox
name = 'Facebook Like Box Plugin'
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 Plugin'
render_template = 'cmsplugin_facebook/likebutton.html'
+ change_form_template = 'cmsplugin_facebook/likebutton_change_form.html'
plugin_pool.register_plugin(FacebookLikeBoxPlugin)
plugin_pool.register_plugin(FacebookLikeButtonPlugin)
View
7 cmsplugin_facebook/templates/cmsplugin_facebook/likebox_change_form.html
@@ -0,0 +1,7 @@
+{% extends 'admin/cms/page/plugin_change_form.html' %}
+
+{% block top %}
+ {# Description below taken from the Facebook site. #}
+ <p>The Like Box enables users to like your Facebook Page and view its stream directly from your website.</p>
+ {{ block.super }}
+{% endblock %}
View
7 cmsplugin_facebook/templates/cmsplugin_facebook/likebutton_change_form.html
@@ -0,0 +1,7 @@
+{% extends 'admin/cms/page/plugin_change_form.html' %}
+
+{% block top %}
+ {# Description below taken from the Facebook site. #}
+ <p>The Like button lets users share pages from your site back to their Facebook profile with one click.</p>
+ {{ block.super }}
+{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.