hdushku / yii-bootstrap-starter-theme

Yii - Bootstrap 3 Starter Theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yii Bootstrap Starter Theme

This is a simple Yii theme for getting you up and running with Twitter's bootstrap. It is simply a theme and not a full-blown extension like Chris83's.

It does not have programming widgets because it is meant for people who prefer to write out all of the markup/code themselves.

This theme does not contain any of the actual Twitter Bootstrap code. It gets the latest css and js files from http://bootstrapcdn.com.

However, it does contain the html5shiv.js and respond.js for IE8 support.

Installation

  • Extract files into the Yii application at themes/[name of theme]/

Usage

  • Add theme info into main configuration
return array(
    'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
    'name'=>'My Web Application',
    'theme'=>'[name of theme]', // THIS LINE HERE
  • Update versions if desired (in views/layouts/main.php)
<?php 

// define versions
$bootstrapVersion = "3.0.0";
$fontAwesomeVersion = "3.2.1";
$jqueryVersion = "2.0.3";
$queryUiVersion = "1.10.3";

About

Yii - Bootstrap 3 Starter Theme

License:Other


Languages

Language:PHP 69.1%Language:CSS 29.4%Language:JavaScript 1.4%Language:ApacheConf 0.1%