Themes support for CI (native style) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Themes support for CI (native style) (/showthread.php?tid=45640) |
Themes support for CI (native style) - El Forum - 09-29-2011 [eluser]Vangelis B[/eluser] Hello people. I've released a library which provides themes support for CI in a native style. For example to load a theme you just do: $this->load->theme('theme_name'); In your views you can load css and javascript files like this: $this->load->css('path/file.css'); $this->load->js('path/file.js'); Check it out and let me know what you think: http://bit.ly/p9e2vs |