Notice: This project is marked as stale. This means that it may work fine, but it
has no file releases or repository commits in over a year. Use your own
discretion when using this project.
TemplateExists
simple smarty plugin to check if a template resrource exists.
It contains only a single php file, the plugin implementation. After downloading you put it into your installations assets/plugins directory.
After this you can use it like:
{$resource = "some_resource_name"}
{if {template_exists file=$resource}}{include file=$resource}{/if}