<?php $bt = BlockType::getByHandle('page_list'); $bt->controller->num = 10; // pages to display $bt->controller->orderBy = 'display_asc'; //display_asc, display_desc, chrono_asc, alpha_asc, alpha_desc $bt->controller->cParentID = 898; // $c->getCollectionID(); = Current page / specify the PageID if necessary $bt->controller->truncateSummaries = 1; // 0:false / 1:True $bt->controller->truncateChars = 68; $bt->controller->displayFeaturedOnly = 0; // 0:false / 1:True = Display is_featured only $bt->controller->paginate = 0; // 0:false / 1:True ( add pagination if more then NUM value ) $bt->controller->displayAliases = 0; // 0:false / 1:True $bt->render('templates/twist-sidebar-tagcloud/view'); // Specify your template or type "view" to use default ?>
When inserting manually a block controller in the theme, the RENDER using view.php don't load the associated view.css inside the template folder.





olacom
load