Rename template.php to templates/yoo_infinite/layouts/template.php