how to change the templates for the generic django cms plugins?

732 Views Asked by At

I want to change the output template or extend the template of the Text and Video plugins that are some of the generic Django CMS plugins. how to do it?

1

There are 1 best solutions below

1
On BEST ANSWER

Plugins use the Django template engine, this allows you to override any template at the project level.

So if the text plugin looks for a template in cms/plugins/text.html, you can override this template by adding cms/plugins/text.html in a folder that is on your TEMPLATES directory.