Welcome Guest, Not a member yet? Register   Sign In
Bootstrap integration with Codeigniter.

(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">
    <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>
    <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" />
        <nav class="site-nav">
                <li class="blog">
                    <a href="/blog/">Blog</a>
                <li class="backups">
                    <a href="/ci4/backups">Backups</a>
                <li class="tools">
                    <a href="/tools">Tools</a>
                <li class="empty1">
                    <a href="/">CI3</a>

Attached Files Thumbnail(s)

Theme © iAndrew 2016 - Forum software by © MyBB