Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
template.php location
  • hello, I discovered that when I generate scaffolding, it saves it at views root.
    could it be possible to move this views/<newly created folder>/template.php? thanks BR
  • if you want use other template from other folder add public variable to your controller named as $template with value '<newly created folder>/template' or etc
    <code>
    Class Controller_Your extends Controller_Template{
    public $template='<newly created folder>/template'; } </code>
  • @BEstxp, thanks a lot. it's working now. FuelPHP rocks! Best regards,

Howdy, Stranger!

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

In this Discussion