Releases: WebAndCow/CakePHP-BsHelpers
BsHelpers 2.2.0 released
What's new
This new version includes a new plugin : tablesorter. From now, with the BsHelpers, you could choose if you want to sort your tables. It uses the Mottie/tablesorter.
Tablesorter
- Add
tablesorter
in the class array of your table to order your columns. Check the documentation for more informations
CkEditor
- Add a third parameter to add options for the CkEditor javascript
Plugins
- Improved loading plugins. They are in an array with their associated javascript and css to easily manually change urls
Other
- Add a protected variable to get the form id
- Improve code coverage
- Improve documentation with a new section : Examples
- Correct some fixes for chosen and rowlink
There will certainly be more news to come. Feel free to contribute to the project to make it evolves :) !
Thanks you to use the CakePHP-BsHelpers !
BsHelpers 2.1.1 released
Bug Fixe
- Correct the bug of the layout
BsHelpers 2.1.0 released
What's new
This new version includes a package of new features.
In order to improve the user experience, we integrate features of Jasny Bootstrap, lengthDetector and Chosen
Input data-mask
- Add
data-mask
option on the input to use the data-mask Jasny feature.
Rowlink
- Add a third parameter for the
table()
function to enable Jasny rowlink. - Update the third parameter for the
cell()
function to add a rowlink on the cell. - The fourth parameter for the
cell()
function is now theautoformat
Chosen
- Add
chosen()
function to generate a multi-select by Chosen. - It keeps the same parameters as the
select()
function with just one extra parameter:chosenAttr
. This is a php array for JavaScript settings.
Other
- Increase code coverage to 99%
- Update of CDN versions
Bootstrap also just released a new version 3.3.5, the helper was therefore automatically updated.
There will certainly be more news to come. Feel free to contribute to the project to make it evolves :) !
Thanks you to use the CakePHP-BsHelpers !
BsHelpers 2.0.0 released
What's new
For this new version, we have made sure to rewrite the CakePHP-BsHelpers to have better performance, readability and testability. This new version also adds new features to certain elements of BsForm and corrects their structure in some cases. Modifications only concern BsFormHelper Here is the list of changes :
Global
- You can now change the device with the
setDevice()
function. - Add the support of the basic (stacked) bootstrap form.
- Error display will automatically default to the validationErrors
- Use the Set class instead of Hash for a full compatibility with CakePHP 2.x
- Change ckEditor path. Not in absolute but in relative to the webroot plugin
- Add 2 new badges to view php and javascript dependencies
- Update php dependencies
Input + InputGroup
- Add
has-feedback
of bootstrap inputs. Can be call with the option'feedback' => true
- Better management of type date and datetime inputs
Checkbox
- Add validation states
- Remove useless
inline
option - Better display of the
help
option
Select
- Add validation states
- Change the width in form-inline to
auto
Radio
- Rewrite
inline
structure and all the global structure - Add validation states
Submit
- Partial rewrite of the structure
There will certainly be more news to come. Feel free to contribute to the project to make it evolve :) !
Thanks you to use the CakePHP-BsHelpers !
BsHelpers 1.2.0 released
- [BsForm] add ux option in submit function
- [BsForm] add title and indication funtion
- [BsForm] add ckEditor function
- [BsForm] remove Datepicker function
- [Bs] add ckEditor load options
- [Bs] remove Datepicker load options
- Add bower files for ckeditor
BsHelpers 1.1.3 released
- 97% general code coverage
- Add css and js for the datepicker
- Add variable to load or not the datepicker
Add code coverage, config files and remove useless files
- Add code coverage with coveralls.io
- Remove Controller directory and .js and 2 .css files
- Add phpcs verifcation with travis
- Change good paths in composer.json
Plugin CakePHP
Now, helpers became a CakePHP Plugin.
Soon, a new documentation to explain changes.
New features in the BsHelper
Add modal() function to create am Modal like Bootstrap in only 4 arguments max but 2 arguments min.
Add confirm() function to create a button with a confirm() javascript. The confirm has a Bootstrap style and made specially for a best UX.