0

I can’t make the assets work with the code provided by the contributors the only way i can get my css is with a method discovered by someone else on this ciforum

<?php $this->load->helper('html'); $this->load->helper('asset'); echo link_tag(css_asset_url('default.css'));?>

and now I need a similar method or a solution to include my jquery file in the view that I am setting up.

ps:I tried all the indications form the assets none of them work is this a bug?

Thank you

2
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by baig772
0

I managed to solve it myself it is a bit funny because you can make it work woth the classic code
<script type="text/javascript" src="../assets/js/default.js"></script>
You can also try th base url method not tested yet by me

Hope this would help someone else as well.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.