CSS does not get included with Custom Template within a Block
Permalink<?php $bt = BlockType::getByHandle('autonav'); $bt->controller->displayPages = 'top'; $bt_main->controller->orderBy = 'display_asc'; $bt_main->controller->displaySubPages = 'none'; $bt_main->render('templates/my_sub_folder/view'); ?>
Map structure
blocks/autonav/templates/my_sub_folder/view.php blocks/autonav/templates/my_sub_folder/view.css
In the scenario above the view.css doesnt get included automatically. How can I solve this?
I saw a "HowTo" and a forumtopic on this site where people say it is possible. However after trying myself, i can't seem to get it working.
Thanks for the help.
http://www.concrete5.org/community/forums/customizing_c5/view-css-a...