Forums / Cotonti / Support / How to Make new Theme

Macik
#42238 2016-10-25 20:43

To be exact — template loading function is flexible and search for several places TPL file may exists.

For example of `coolplug` Plugin and its default template `coolplug.tpl` this chain would be:

  • `themes/mytheme/plugins/coolplug/coolplug.tpl
  • `themes/mytheme/plugins/coolplug.tpl
  • `themes/mytheme/coolplug.tpl

(Same rules for Modules and `modules` folder respectively)

If you have many Extensions templates in your theme, it's more clear to place it in separate folders.

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F