Django-CMS重用插件实例 [英] Django-CMS reuse plugin instance
问题描述
在django-cms中是否可以重用插件的实例?假设我在页面中添加了一个插件"Text"(或任何其他插件)的实例,而我想在另一个页面中重复使用相同的文本.
Is it possible in django-cms to reuse a plugin's instance? Let's say that I add an instance of the plugin "Text" (or of any other plugin) in a page and I want to reuse the same text in another page.
这不是我想要的:重复使用相同的django cms插件实例这需要在模板中有一个静态标签,我希望能够在同一模板的多个页面(但不是全部)中使用相同的插件实例.
This was not what I am looking for: reuse same django cms plugin instance This requires to have a static tag in the template, I want to be able to use the same plugin instance in several pages (but not all) of the same template.
谢谢.
推荐答案
看看 https://github.com/divio/djangocms-stacks/
它们的工作方式与static_placeholders类似,但也提供了堆栈插件...也许可以开发static_placeholders插件?
They work similar to static_placeholders but provide a stack plugin as well... maybe a static_placeholder plugin could be developed?
这篇关于Django-CMS重用插件实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!