osama7901
osama7901

Reputation: 1671

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

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?

Upvotes: 1

Views: 741

Answers (1)

Paulo
Paulo

Reputation: 7362

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.

Upvotes: 4

Related Questions