Set custom template
This works when the file is located in
but what if the file is in
I've tried everything (I think) but the template is not being found...
That should do it
I know its an old thread and you have probably moved on but,
Will the js load if the view.js is placed within a folder called "js"
It may not work? if the view.js don't, but could be worth a go
i made a custom template for youtube block type
$a = new Area('Main Content'); $a->setCustomTemplate('youtube', 'templates/custom_theme_youtube'); $a->display($c);