the plugin can be embeded in text plugin
This commit is contained in:
parent
6813853a27
commit
db2fa93a5b
|
@ -7,6 +7,7 @@ from cms.plugin_pool import plugin_pool
|
|||
class AjaxTextPlugin(TextPlugin):
|
||||
name = _(u'Text (asynchronous loading)')
|
||||
ajax_render_template = 'plugin/ajax_text.html'
|
||||
text_enabled = True
|
||||
|
||||
def get_ajax_body(self, instance, context):
|
||||
t = loader.get_template(self.ajax_render_template)
|
||||
|
|
Reference in New Issue