Wp-cb-template-file is a project mainly written in PHP, it's free.
CB Module for set any template file for any module.