This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
enrico21495
Is there any way to use a blade template from inside a plugin?
I only managed to use blade in the /resouces/views/ path, which is global...
What I'd like to do is something like
view('view-folder/viewname', 'Author.PluginName', [ vars... ]);
Thanks
JeffGoldblum
No, October does not use Blade, it uses Twig and PHP. This is explained here: https://octobercms.com/forum/post/why-twig
1-2 of 2