Feature proposal #6361closed
Rewrite how template files are included
Currently it uses a Class > Function usage. The problem with this is if you include it more than once it errors. Instead the template function should return a URL path that can then be output via a require call. This is in short how Joomla layouts function.
See CB Core Fields Ajax for first implementation of this new template usage.