php - Trying to load theme assets in pyrocms only using template and asset library -
in trying find out how have next work. i'm using template , asset libraries pyrocms help in aiding ci application , i’m trying figure out how can have dashboard images/css/js files in file construction below opposed regular assets folder in public_html folder since files pertain theme. far know code below used render specific css file. theme running smoothly when line below gets called renders nil if there no code line present.
i'm still trying find out why line isn't getting rendered. i'm still needing thought this.
<?php echo asset::css(‘bootstrap/bootstrap.min.css’); ?> public_html/ application/ themes/ supr/ assets/ js/ images/ css/ bootstrap/bootstrap.min.css views/ layouts/ default.php
asset::css()
adds file want include list (array) of css files. need phone call asset::render_css()
generate actual <link>
html.
http://docs.pyrocms.com/2.1/manual/developers/tools/assets
php codeigniter pyrocms
No comments:
Post a Comment