# |
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? |
# |
Oct 4th 2016, 07:21 |
daniel_san |
plugin works fine but translation not.. |
# |
Oct 4th 2016, 07:21 |
daniel_san |
locale files in plugins/MyPlugin/src/Locale/fr/my_plugin.po |
# |
Oct 4th 2016, 07:21 |
daniel_san |
loaded correctly in bootstrap.php and composer.json for autoload |
# |
Oct 4th 2016, 07:20 |
daniel_san |
cakephp 3, installed a plugin in plugins/MyPlugin |
# |
Oct 4th 2016, 07:20 |
daniel_san |
I can't get plugin translation working.. |
# |
Oct 4th 2016, 07:16 |
NeoThermic|Work |
there's 18k worth of commits to update it with :P |
# |
Oct 4th 2016, 07:16 |
NeoThermic|Work |
oh my, I have a checked out version of the master repo from 1.3.x |
# |
Oct 4th 2016, 07:15 |
cakephp261 |
how r u? |
# |
Oct 4th 2016, 07:15 |
cakephp261 |
hii |
# |
Oct 4th 2016, 07:15 |
cakephp261 |
hello |
# |
Oct 4th 2016, 07:07 |
spriz |
Oh :slightly_smiling_face: |