CodeIgniter Forums
Bootstrap integration with Codeigniter. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Learn More (https://forum.codeigniter.com/forumdisplay.php?fid=15)
+--- Thread: Bootstrap integration with Codeigniter. (/showthread.php?tid=1146)

Pages: 1 2 3


RE: Bootstrap integration with Codeigniter. - wdeda - 05-03-2020

(02-14-2015, 03:10 AM)hicham Wrote: thank you , note : File names must be capitalized. For example: class Boots -  class Boots.php

I use it in the header, it's available throughout CI. All classes, for example, are displayed, depending on the option, in the VS Code. See attached image.

PHP Code:
<!DOCTYPE html>
<
html lang="en">
<
head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Private catalog of films and music">
    <
meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="shortcut icon" href="/public/img/common/<?= $icon; ?>.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/public/css/bootstrap.css"> <!-- <== -->
    <link href="/public/css/header.css" rel="stylesheet">
    <link href="/public/css/<?= $css ?>.css" rel="stylesheet">
    <
title><?=$title ?></title>
    <div class="header-main-nav">
    <div class="max-header">
    <div class="main-nav">
    <div class="logo-container">
                    <a class="logo" href="/">
                    <h1 class="logo-img">wdeda</h1>
                    </a>
    </div>
    <div class="search-container">
        <form action="<?= $action ?>" class="site-search" method="post" name="site-search">
            <input class="site-search-button" name="wdeda" type="submit" />
            <input class="site-search-input" name="search" placeholder="Search" tabindex="1" type="search" />
        </form>
    </div>
        <nav class="site-nav">
            <ul>
                <li class="blog">
                    <a href="/blog/">Blog</a>
                </li>
                <li class="backups">
                    <a href="/ci4/backups">Backups</a>
                </li>
                <li class="tools">
                    <a href="/tools">Tools</a>
                </li>
                
                <li class="empty1">
                    <a href="/">CI3</a>
                </li>
            </ul>
        </nav>
    </div>
    </div>
    </div>
</head>
<body>