Closed TreeNode closed 13 years ago
Is this an issue? What do you expect? What do you currently get?
Be a bit more descriptive.
Was expecting to be able to just use
{include 'my_template.smarty'}
{extends file='header.smarty'}
And know to look into my views folder.
Would this be a parser config item?
Thank you
My pull request https://github.com/fuel/parser/pull/21 solved this by setting the template directory for Smarty.
That fixed the issue I was experiencing. Thanks iquito!
Including files or extending files require full path to templates directory:
For example:
{include '..\fuel\app\views\my_template.smarty'}
{extends file='..\fuel\app\views\header.smarty'}