Add smarty support for view of type .smarty.php.