Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit 919fdc1

Browse files
author
David Yell
committed
Tweaked readme to list new changes and also to reflect the new required foc/bootstrap. Also added some suggestions to the composer file
1 parent d54cfd2 commit 919fdc1

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Plus I tend to use [Twitter Bootstrap](http://getbootstrap.com/) to make my admi
1414
leverage that front-end framework.
1515

1616
## Installation
17-
You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).
17+
You should install this plugin into your CakePHP application using [composer](http://getcomposer.org).
1818

1919
The recommended way to install composer packages is using,
2020

@@ -41,7 +41,8 @@ In your admin layout, you'll need to include the theme and javascript.
4141
```
4242

4343
## Optional extras
44-
If you want to use Twitter Bootstrap for all your forms also you can install the [friendsofcake/bootstrap-UI](https://github.com/friendsofcake/bootstrap-ui).
44+
If you want to use Twitter Bootstrap for all your forms be sure to enable [friendsofcake/bootstrap-UI](https://github.com/friendsofcake/bootstrap-ui)
45+
in your application and loading the helpers in your `src/View/AppView.php`. [Find out more about installing bootstrap-ui in their readme](https://github.com/friendsofcake/bootstrap-ui).
4546

4647
This can be easily coupled with the [friendsofcake/crud plugin](https://github.com/friendsofcake/crud) to pretty much make
4748
an entire basic admin in around 5 minutes!
@@ -74,12 +75,14 @@ bin/cake bake template --theme=NiceAdminBakeTheme --prefix=Admin Examples
7475
* Removed the actions sidebar from all templates
7576
* Formatted tables with Bootstrap
7677
* Added a 'New' button to the top of tables
78+
* Add basic filter form to index templates
7779
* Tidied up the pagination
7880
* Made the Actions column links into buttons
7981
* Added handling for date, datetime and time using the Time helper
8082
* Added handling for boolean data using Bootstrap icons
8183
* Updated the View template to use Bootstrap panels
8284
* Spaced out the Table definition functions
85+
* Added classes to the columns in index templates
8386

8487
# License
8588
A custom cakephp/bake theme for generating customised cakephp code and templates.

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "NiceAdminBakeTheme plugin for CakePHP",
44
"type": "cakephp-plugin",
55
"license": "GPL-3.0",
6-
"keywords": ["cakephp", "cakephp3", "bake", "theme", "admin"],
6+
"keywords": ["cakephp", "cakephp3", "bake", "theme", "admin", "bootstrap"],
77
"authors": [
88
{
99
"name": "David Yell",
@@ -14,7 +14,13 @@
1414
],
1515
"require": {
1616
"php": ">=5.4.16",
17-
"cakephp/cakephp": "~3.0"
17+
"cakephp/cakephp": "~3.0",
18+
"friendsofcake/bootstrap-ui": "~0.3"
19+
},
20+
"suggest": {
21+
"twbs/bootstrap": "Twitter Bootstrap front-end framework, for styles and layout.",
22+
"friendsofcake/search": "Filtering for index templates to find things easier.",
23+
"friendsofcake/crud": "Production ready scaffolding for controllers. Don't even bother writing code!"
1824
},
1925
"autoload": {
2026
"psr-4": {

0 commit comments

Comments
 (0)