# |
Dec 4th 2017, 15:58 |
inoas |
aliases? |
# |
Dec 4th 2017, 15:54 |
neon1024 |
#vpntypingdelaysucks |
# |
Dec 4th 2017, 15:53 |
neon1024 |
If Cake\Network is now Cake\Http, why can I stioll throw a Cake\Network|noTfoundException? |
# |
Dec 4th 2017, 15:45 |
admad |
@birdy247 twig templates definitely work :slightly_smiling_face: |
# |
Dec 4th 2017, 15:33 |
inoas |
https://www.youtube.com/watch?v=q8wueg2hswA#t=46m <3 |
# |
Dec 4th 2017, 15:24 |
birdy247 |
but it wasnt used |
# |
Dec 4th 2017, 15:24 |
birdy247 |
@admad I did try creating the twig template |
# |
Dec 4th 2017, 15:15 |
admad |
hehe |
# |
Dec 4th 2017, 15:13 |
hmic |
:D |
# |
Dec 4th 2017, 15:13 |
hmic |
theres even a word for that - neon1024ing |
# |
Dec 4th 2017, 15:13 |
admad |
often just asking helps you spot your mistake |
# |
Dec 4th 2017, 15:12 |
admad |
if you say so :slightly_smiling_face: |
# |
Dec 4th 2017, 15:03 |
johnnypepperoni |
I'm an idiot |
# |
Dec 4th 2017, 15:03 |
johnnypepperoni |
ups |
# |
Dec 4th 2017, 15:02 |
johnnypepperoni |
BUT, in cakephp... no luck |
# |
Dec 4th 2017, 15:02 |
johnnypepperoni |
https://paste.ofcode.org/QFJr8KkzbnnAjizD5JAjmR |
# |
Dec 4th 2017, 15:00 |
johnnypepperoni |
with php, this works great: |
# |
Dec 4th 2017, 15:00 |
d-fens |
hmic : yay! great you saved my afternoon, thanks! |
# |
Dec 4th 2017, 15:00 |
johnnypepperoni |
so, I'm trying to connect to a msqlserver |
# |
Dec 4th 2017, 15:00 |
johnnypepperoni |
ok |
# |
Dec 4th 2017, 15:00 |
hmic |
yes, please |
# |
Dec 4th 2017, 15:00 |
megan |
Sure - just go ahead and ask your question |
# |
Dec 4th 2017, 14:59 |
johnnypepperoni |
Can I ask cakephp questions here?? |
# |
Dec 4th 2017, 14:59 |
megan |
Hi johnnypepperoni, how are you? :slightly_smiling_face: |
# |
Dec 4th 2017, 14:58 |
johnnypepperoni |
Hello? |
# |
Dec 4th 2017, 14:57 |
hmic |
d-fens: it worky worky? |
# |
Dec 4th 2017, 14:47 |
d-fens |
ok i'll test |
# |
Dec 4th 2017, 14:46 |
hmic |
if i remember correctly |
# |
Dec 4th 2017, 14:46 |
hmic |
it overwrites a method in the countercache behavior |
# |
Dec 4th 2017, 14:46 |
hmic |
d-fens: i think it is neccessary and the reason this is a trait and not behavior |
# |
Dec 4th 2017, 14:45 |
d-fens |
undefined $count |
# |
Dec 4th 2017, 14:44 |
d-fens |
ok, and the cleanupBelongsToMany Method can go ? |
# |
Dec 4th 2017, 14:41 |
hmic |
it's a trait even, not a behavior. but you will get it... you add the trait to the table that has the countercache behavior attatched too, and just call it's method, telling it which caches to update, basically ;-) |
# |
Dec 4th 2017, 14:41 |
d-fens |
*k |
# |
Dec 4th 2017, 14:40 |
d-fens |
thans |
# |
Dec 4th 2017, 14:38 |
hmic |
https://gist.github.com/hmic/f38b409bb483de8d5b85bec1e0334abe |
# |
Dec 4th 2017, 14:38 |
hmic |
tried to remove the corresponding code bloat: |
# |
Dec 4th 2017, 14:38 |
hmic |
i've used that from a shell and issued lots of events during the course to get logged back to the shell |
# |
Dec 4th 2017, 14:32 |
d-fens |
found no revalidateCache() method or smth like that |
# |
Dec 4th 2017, 14:31 |
d-fens |
would be really nice |
# |
Dec 4th 2017, 14:31 |
hmic |
don't know if it still applies/works. but i can gist it if you like (it's ~ 3.1 ish time) |