# |
Oct 4th 2016, 08:51 |
dakota |
To admad, jippi and the rest of the FoC/crud contributors :slightly_smiling_face: Thanks for giving me something to absolutely wow the audience at the recent PHP South Africa conference :) |
# |
Oct 4th 2016, 08:47 |
neothermic |
@admad Added coffee, doubled up. Adding space now ;) |
# |
Oct 4th 2016, 08:46 |
slackebot1 |
Action: admad pours neothermic some coffee |
# |
Oct 4th 2016, 08:42 |
neothermic |
@admad Apologies for these small mistakes, I need more coffee :slightly_smiling_face: |
# |
Oct 4th 2016, 08:37 |
neothermic |
@dereuromark I'm happy for ideas on a better way to do that test :slightly_smiling_face: |
# |
Oct 4th 2016, 08:28 |
Neon1024 |
Nice work on the currency() method :) |
# |
Oct 4th 2016, 08:27 |
Neon1024 |
Well, the Number helper in Cake 2 has had some love :) |
# |
Oct 4th 2016, 08:11 |
birdy247 |
Morning |
# |
Oct 4th 2016, 08:06 |
neothermic |
zomg. |
# |
Oct 4th 2016, 08:06 |
ndm |
Using an additional date-only column, or comparing between two full datetime strings may be the better choice |
# |
Oct 4th 2016, 08:05 |
ndm |
@AngryDad_ It's inefficient since the query will not be able to use indices, and the DBMS date may be different to the PHP date, which may have been the source to initially create the value... |
# |
Oct 4th 2016, 07:59 |
AngryDad_ |
$shifts = $this->Shifts->find()->where(['DATE(time_start)' => 'CURDATE()']); |
# |
Oct 4th 2016, 07:59 |
AngryDad_ |
Hi all, is this the correct way to check if a datetime is today? |
# |
Oct 4th 2016, 07:56 |
ndm |
./Console/cake bake view --plugin PluginName ControllerName |
# |
Oct 4th 2016, 07:56 |
ndm |
Assuming the plugin is set-up and registered properly... from you app folder |
# |
Oct 4th 2016, 07:54 |
cakephp184 |
fails |
# |
Oct 4th 2016, 07:53 |
cakephp184 |
when everithing else falls, read the guide |
# |
Oct 4th 2016, 07:52 |
cakephp184 |
http://book.cakephp.org/2.0/en/plugins/how-to-create-plugins.html |
# |
Oct 4th 2016, 07:51 |
cakephp184 |
no it doesnt work |
# |
Oct 4th 2016, 07:48 |
cakephp184 |
and then cake bake view pippo ? |
# |
Oct 4th 2016, 07:47 |
cakephp184 |
I have to go in path inside the plugin? |
# |
Oct 4th 2016, 07:46 |
cakephp184 |
how to bake a view inside that plugin? |
# |
Oct 4th 2016, 07:46 |
daniel_san |
just the translation is problematic |
# |
Oct 4th 2016, 07:46 |
cakephp184 |
with its models controllers views |
# |
Oct 4th 2016, 07:46 |
Neon1024 |
Great, glad you sorted it |
# |
Oct 4th 2016, 07:46 |
daniel_san |
the plugin is working fine |
# |
Oct 4th 2016, 07:46 |
daniel_san |
@Neon1024 plugin is not loaded via composer, I just had to add the autoload there |
# |
Oct 4th 2016, 07:46 |
cakephp184 |
lets call it 'pippo' |
# |
Oct 4th 2016, 07:46 |
cakephp184 |
I have a plugin under plugin |
# |
Oct 4th 2016, 07:45 |
cakephp184 |
I never do it with bake |
# |
Oct 4th 2016, 07:45 |
cakephp184 |
I dont know how to do it |
# |
Oct 4th 2016, 07:44 |
cakephp184 |
no no |
# |
Oct 4th 2016, 07:44 |
Neon1024 |
I would think that plugins in Cake 3 which are included using Composer, should be in /vendors |
# |
Oct 4th 2016, 07:43 |
NeoThermic|Work |
writing tests for core :o |
# |
Oct 4th 2016, 07:43 |
Neon1024 |
daniel_san: Because youâ??ve put the plugin in the wrong place? |
# |
Oct 4th 2016, 07:41 |
cakephp184 |
how to bake a view inside a plugin ? |
# |
Oct 4th 2016, 07:40 |
cakephp184 |
hi all |
# |
Oct 4th 2016, 07:35 |
spriz |
Doesnâ??t seem like setting the Auth in session is enough, are there some event I should hook into? |
# |
Oct 4th 2016, 07:34 |
spriz |
Any tips on how to write integration tests with the UseMuffin/Footprint behavior? :P |
# |
Oct 4th 2016, 07:34 |
NeoThermic|Work |
Hmm |
# |
Oct 4th 2016, 07:22 |
daniel_san |
does someone have any tips? |