My goal is to share public HTML templates with PHP with the help of the fuel Mustache parser for example.
My problem is that I can’t give « public » template views to the « forge »
method => View::forge('path/to/view’), in the doc I can read: « View files
should be relative to the app/views directory and be supplied without the .php file extension. ».
I have 2 questions:
- How could I achieve the possibility to share templates between PHP and
JavaScript in my application? (with mustache for example)
- The most would be with the fuelphp Handlebar parser, but it’s not available in fuelphp 1.7, however is it possible to get it?
Thank you very much for your help
Gwen
It looks like you're new here. If you want to get involved, click one of these buttons!