Open prakash opened 12 years ago
That is not currently supported, but:
View::factory('/path/to/my/template.tpl')
if ( ($path = Kohana::find_file('views', $file, ''))===FALSE ) {
in smarty3/classes/smarty/view.phpThought about this a bit more, it would be a simple change to have the directory set in config/smarty.php. In fact there is no reason this should not be an array - the results are cached so there is no penalty. I will fix it.
how can I set the template directory outside of /application/views or may be on /themes