Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Including a remote view file
  • Hello.

    I am working on a project that calls for the template files to be stored outside of the fuel application, on a separate server, in fact. 

    What would you suggest to be the best way to go about accomplishing this task?

    I've tried to dissect the Core Fuel View class, but there is too much magic in there for me to pinpoint how to accomplish a remote include.

    The Core class seems to do a couple things:

    1. It looks for the specified template in the views directory
    2. It removes the file extension 


    My goal is something like this:


                    $response = \Response::forge(\View::forge($template], $data, false));


    Any pointers or insights you can give me will be much appreciated.



Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!