How to set a Custom Template by hardcode for an Area:1 user found helpful
I try alot but not succeded, for setting a custom template for an area by hardcode for specific blocks in that area.
I am using this code for setting custom template....
<?php $block = BlockType::getByHandle('easynews_list'); $a=new Area('All News Area'); var_dump($block);exit; $a->setCustomTemplate($block, 'all_news'); $a->display($c); ?>
Any one know about it????