Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CakeTrap is a HTML5 CakePHP 2.2 Bootstrap !

Notifications You must be signed in to change notification settings

squawk/cakeStrap

Open more actions menu
 
 

Repository files navigation

CakeStrap v 0.4


CakeStrap is a simple HTML5 Ready Bootstrap for CakePHP 2.2 Applications.

Video tutorial ( Portuguese )

[http://youtu.be/m4FtYIS3Rm8][] [http://youtu.be/m4FtYIS3Rm8]: http://youtu.be/m4FtYIS3Rm8

Features

Front-end
  1. Responsive Web Design
  2. HTML5 Boilerplate v4.0.0
  3. Normalize v1.0.1
  4. Modernizr v2.6.1
  5. Twitter Bootstrap v2.1.0
  6. Multi-Language ( English and Portuguese )
  7. Custom themes ( Bootswatch )
Back-end
  1. CakePHP 2.2 Security Authentication
  2. Users CRUD
  3. Remember password with email send (NEW)

Quick start

  • Create a table named users in your database with the following structure:
CREATE TABLE `users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `role` varchar(20) NOT NULL,
  `created` datetime NOT NULL,
  `modified` datetime NOT NULL,
  `hash_change_password` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  • Open the file app/Config/database.php and change the database information
  • Change the permissions of the folder app/tmp to 777 ( and all the folders inside of it )
  • Change your app name and email in app/Config/bootstrap.php at line 149
  • Change your SMTP email settings in app/Config/email.php at line 66

Internationalization

Currently cakeStrap supports two languages, English and Portuguese. To enable the Portuguese language as the main just add the following line in your app/Controllers/AppController.php at beforeFilter action:

Configure::write('Config.language', 'por');

Questions / Bugs

Have a question or found a bug? Please create an issue [here][] on GitHub! [here]: https://github.com/hugodias/cakestrap/issues

About

CakeTrap is a HTML5 CakePHP 2.2 Bootstrap !

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.3%
  • Other 1.7%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.