Bootstrap integration with Codeigniter. |
(04-28-2016, 06:38 PM)witslinux Wrote:(02-14-2015, 01:33 AM)Ujitha Wrote: This lesson will help you to understand how to integrate bootstap with Codeigniter.Dear sir , You need to load the CI url_helper. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
"<link href="<?php echo base_url('assets/css/bootstrap.css');?>" rel="stylesheet">
<link href="<?php echo base_url('assets/css/bootstrap.min.css'); ?>" rel="stylesheet">" This is unnecessary. I would recommend to load just the minified version from bootstrap css and js files too.
In step 5, there's this:
Code: <link href="<?php echo base_url('assets/css/bootstrap.css');?>" rel="stylesheet">
If you're looking for a simple and easy way to implement bootstrap in your project, i made a simple library called Attire, witch is an implementation of Twig template engine and Sprockets-PHP asset manager framework for CodeIgniter 3.0x.
This is the documentation link: http://davidsosavaldes.github.io/Attire/
If you get an base_url error then it means you need to load the url_helper
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I always autoload the url_helper only because it is used a lot.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Hello sir,
I have use the guide you explained, but the problem is with glyphicon it dosent show glyphicon I dont know what to do? (05-24-2019, 11:20 PM)shuhood Wrote: Hello sir, There is a working CI/Bootstrap framework on github with some other features. https://github.com/aralsoft/CI-Bootstrap
|
Welcome Guest, Not a member yet? Register Sign In |