XF 2.1 Are we able to store templates in sub-folders?

robdog

Well-known member
Some of my plugin have a lot of templates and I would love to break them up with sub-folders within the _output/templates/public folder.

Is this possible? Or is there a better technique to handle this?

Thanks.
 
The XF _output/templates/public directory contains 520 templates. This doesn't present an issue to us and I'm not sure there would be many (or any) add-ons which exceed that and we manage fine.

If your templates are named logically, things should be fairly easy to find, I would expect.

As such, no, there's no way of separating them into sub-folders.
 
Bummer, but I understand. Definitely been going the naming scheme route. Thanks for the heads up.
 
Top Bottom