Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
render html as file
  • hi
    i need do that:
    $data = [];
    $rendered_form = View::forge($form['content'], $data)->render();

    render html + php as view(include some fuelphp classes and helper functions like __ for translate and send some data to this content).
    content save in db and dynamic.
    View Class only use file.(or i cant find in docs)
    thanks.


  • HarroHarro
    Accepted Answer
    A view file in a string is not supported out of the box.


    This is from one of my old apps, it might be of some use for you.


  • thanks Harro.

Howdy, Stranger!

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

In this Discussion