For this I’ve created ‘MY_html_helper’ custom helper, so you can use easily.
Only copy file into ‘helpers’ in your project.
The functions:
[php]
link_tag(); js_tag();
Example
[php]
// Change css/main.css -> css/main.css?{mtime} -> css/main.css?12342343 automaticaly. echo link_tag(‘css/main.css’); echo js_tag(‘js/system.js’);
Download link_tag improved
No comments:
Post a Comment