If smarty template has double it dot it fails to forge view. See below example:-
$view = \View::forge('example.html.smarty');
If I rename the file to example.smarty it works like:-
$view = \View::forge('example.smarty');
I surely need to use double dots because, my site has two formats, one is html and other is text only. So I load templates based on what format user has selected.
I have smarty templates in two formats like header.html.smarty and header.txt.smarty and load whichever format is selected