lilHermit / cakephp-plugins-bootstrap4

3 stars 5 forks source link

Add new "confirmJS" template to templates array #8

Closed wilsmex closed 5 years ago

wilsmex commented 5 years ago

Cake 3.6 and above has a new confirmJS template which needs to be added to the plugin's templates

'confirmJs' => '{{confirm}}',

johnneijzen commented 5 years ago

how can fix this my cakephp because your "bin/cake bake template -t LilHermit/Bootstrap4 Users" will give me Cannot find template named 'confirmJs'.

I am running CakePHP 3.7.6 atm

lilHermit commented 5 years ago

You can switch to the master branch by using dev:master instead of a version number, I'll be pushing the latest version as soon as I have time.

Note: You may need to add "minimum-stability": "dev" to your composer.json

tgoeminne commented 4 years ago

Do we need to change existing templates? Because I am getting the same error. CofirmJs

tgoeminne commented 4 years ago

Ok nevermind, I updated to latest version all seems to work now, somehow it didn't update correctly earlier... Thanks