- Member | 2
@dakur For example I am using PHPStorm and IDE keeps crashing due to latte plugin. In our content management system, we plan to switch to latte as a template engine and we want all users to adapt easily. We are currently in the testing and review phase.
I could not find how to change it in the documents, can you guide me? Thanks
Last edited by byybora (2021-01-27 10:08)
- Nette Blogger | 1013
I don't think Latte cares about the extension at all, so if you're using
stand-alone Latte, you can just
$latte->render('template.latte.php') instead of
$latte->render('template.latte'). As for PhpStorm, I guess
you'll have to associate the extension to Latte file type (Settings > Editor
> File Types).