# |
Jun 23rd 2018, 13:53 |
akkaweb |
@saeideng Yes. I would like to call a helper into an element |
# |
Jun 23rd 2018, 13:51 |
josbeir |
:flag-be: :flag-be: :flag-be: :flag-be: :flag-be: |
# |
Jun 23rd 2018, 13:41 |
josbeir |
Yeah press can't stop talking about that over here :p |
# |
Jun 23rd 2018, 13:32 |
admad |
any for anyone else who wants a good read :slightly_smiling_face: |
# |
Jun 23rd 2018, 13:31 |
admad |
@josbeir in case you haven't already read https://www.theplayerstribune.com/en-us/articles/romelu-lukaku-ive-got-some-things-to-say |
# |
Jun 23rd 2018, 13:27 |
saeideng |
:soccer: |
# |
Jun 23rd 2018, 13:26 |
saeideng |
6->90' |
# |
Jun 23rd 2018, 13:26 |
saeideng |
Bel 5 ->75' |
# |
Jun 23rd 2018, 13:21 |
saeideng |
do you want to call a helper into an Element? |
# |
Jun 23rd 2018, 13:15 |
akkaweb |
Actually the best question would be "Why can't I call a helper from within an Element file" |
# |
Jun 23rd 2018, 13:13 |
akkaweb |
Can helpers be called from within an Element? |
# |
Jun 23rd 2018, 12:51 |
josbeir |
Not anymore!:) |
# |
Jun 23rd 2018, 12:29 |
admad |
you have one more than the goals :slightly_smiling_face: |
# |
Jun 23rd 2018, 12:07 |
josbeir |
:flag-be: :flag-be: :flag-be: |
# |
Jun 23rd 2018, 08:23 |
birdy247 |
Its a bit of a beast |
# |
Jun 23rd 2018, 08:22 |
birdy247 |
File uploaded https://cakesf.slack.com/files/U0T295QA3/FBCQYBYCS/-.php / https://slack-files.com/T053DPNCM-FBCQYBYCS-cb0fdf75c1 |
# |
Jun 23rd 2018, 08:22 |
birdy247 |
Here is the method |
# |
Jun 23rd 2018, 08:21 |
birdy247 |
Presumably I need to stub these? |
# |
Jun 23rd 2018, 08:21 |
birdy247 |
One of my methods inside this class does a couple of lookups to cake models |
# |
Jun 23rd 2018, 08:20 |
birdy247 |
I am trying to unit test it |
# |
Jun 23rd 2018, 08:20 |
birdy247 |
I have made a custom class to handle "Invoices" |
# |
Jun 23rd 2018, 08:04 |
birdy247 |
Morning |
# |
Jun 23rd 2018, 03:58 |
admad |
Welcome :slightly_smiling_face: |
# |
Jun 23rd 2018, 03:54 |
c |
Also @admad now that I’m here thank you for that plugin I use it a lot! |
# |
Jun 23rd 2018, 03:51 |
c |
Wow! Thanks :-) |
# |
Jun 23rd 2018, 03:49 |
admad |
Don't sell yourself short. Your English is good enough :slightly_smiling_face: |
# |
Jun 23rd 2018, 03:47 |
c |
And sorry for my english, it’s not my first language ,:) |
# |
Jun 23rd 2018, 03:47 |
c |
NIce!! Thank you very much @admad |
# |
Jun 23rd 2018, 03:45 |
admad |
@c https://github.com/cakephp/cakephp/pull/12242 |
# |
Jun 23rd 2018, 03:42 |
c |
Thanks! |
# |
Jun 23rd 2018, 03:42 |
admad |
:+1: |
# |
Jun 23rd 2018, 03:42 |
c |
Oh! great thanks @admad I searched for a issue on the github repo and couldn’t find one related |
# |
Jun 23rd 2018, 03:41 |
c |
Yep I did that :) |
# |
Jun 23rd 2018, 03:41 |
admad |
It's a bug in core which will be fixed in next release |
# |
Jun 23rd 2018, 03:40 |
admad |
@c just remove the addPlugin() call from Application:: bootstrap () |
# |
Jun 23rd 2018, 03:38 |
c |
If I remove that line and add the plugin loading on the `boostrap.php` file everything works, is it a bug? |
# |
Jun 23rd 2018, 03:37 |
c |
File uploaded https://cakesf.slack.com/files/UB6G053A6/FBCHB1FU4/-.js / https://slack-files.com/T053DPNCM-FBCHB1FU4-69254ac14a |
# |
Jun 23rd 2018, 03:37 |
c |
My dependencies are these: |
# |
Jun 23rd 2018, 03:36 |
c |
Apparently it is expecting the `ADmad\JwtAuth\Plugin` namespace |
# |
Jun 23rd 2018, 03:36 |
c |
File uploaded https://cakesf.slack.com/files/UB6G053A6/FBCPWTNLS/screenshot_2018-06-22_screenshot.png / https://slack-files.com/T053DPNCM-FBCPWTNLS-8f8a019d5d |
# |
Jun 23rd 2018, 03:35 |
c |
An it gives me this error |