• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

vesparny/codeigniter-html5boilerplate-twitter-bootstrap: DEPRECATED

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

vesparny/codeigniter-html5boilerplate-twitter-bootstrap

开源软件地址:

https://github.com/vesparny/codeigniter-html5boilerplate-twitter-bootstrap

开源编程语言:

PHP 90.4%

开源软件介绍:

Sponsor

PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED

A CodeIgniter skeleton application based on twitter bootstrap and html5boilerplate.


VERSION 1.1.3
  • Codeigniter 2.1.4
  • bootstrap 3.0RC1
  • html5boilerplate 4.0.0
  • unique style css contains all bootstrap css (responsive and basic), and global css for custom styles.
  • unique plugin js contains all bootstrap plugins.
  • view rendering handled by a smart MY_Controller.
  • jQuery 1.10.2
  • underscore.js 1.5.0
  • nav_helper
  • .htaccess tip for remove index.php
  • basejs view always include in page. (usefull to access via js some server side information e.g. base_url())

USAGE

  1. edit .htaccess file in order to match your server config (see line 5 in the file); if you have http://localhost/site you need to set RewriteBase /site/
  2. set up your defaults values in application/config/development/custom.php
  3. take a look to home controller and template view files to understand how does rendering works.
  4. create your template: I've set up an header, footer, nav, and main for example purpose. Skeleton.php contains the scaffolding page.
  5. pass your data to the view using in controller $this->data["my_var"] = "value";

My_Controller

is made for my basic page template. You need to customize it in order to match your needs. Feel free to improve it. Send a pull request, or contact me.

Author

Alessandro Arnodo




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap