Skip to content

An extention of cake PHP's bake shell. Along with bootstrap integration this creates conventions for picture upload, automatic thumbnails, and WYSIWYG editors.

Notifications You must be signed in to change notification settings

arc3x/BootstrapCake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

BootstrapCake Shell Template

BootstrapCake is a shell template for rapidly developing beautiful Bootstrap themed CakePHP applications through the CakePHP console. The default template uses the ugly CakePHP styling but this template makes your app look beautiful by default.

This branch eliminates common programming chores by creating reserved database column 'prefixes'. This also includes a construction area.

'Prefix' Usage (SQL column name conventions)

  • Any column named picture* (eg 'picture_profile') will be treated as an image upload.
  • Controller upload function (make sure to secure for filetypes)
  • Bootstrap Upload 'browse' in view
  • Any column named thumbnail* (eg 'thumbnail_profile') will be used to store a thumbnail of an uploaded image (configure in AppController.php).
  • The 'postfix' of the column name must match. (eg iff 'pictureFish' column exists will 'thumbnailFish' thumbnail be generated.
  • Only .jpg thumbnails supported
  • Any column named fancytext* (eg 'fancytext_bio') will be treated as a WYSIWYG rich text editor.

Construction Area

  • in 'core.php' the flags 'construction' and 'construction_countdown' can be set to put the site in construction mode.
  • in the layout 'construction.ctp' a countdown timer can be configured (at the bottom).

Requirements

Installation

Credits

  • Original BootStrapCake web git

  • Original Summernote web

About

An extention of cake PHP's bake shell. Along with bootstrap integration this creates conventions for picture upload, automatic thumbnails, and WYSIWYG editors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •