# |
Dec 12th 2019, 22:41 |
savant |
can only vouch for the rest of the subsites :) |
# |
Dec 12th 2019, 22:41 |
savant |
Yeah I dont really have access to either :) |
# |
Dec 12th 2019, 22:39 |
challgren |
Ahh ok, yeah not a very pleasant experience with my.cakephp.org and cakefest.org |
# |
Dec 12th 2019, 22:38 |
savant |
@challgren I’ll get that fixed up - that site isn’t managed by me so I cant do much about it, but we’ll get it fixed regardless :) |
# |
Dec 12th 2019, 22:38 |
savant |
@luizcmarin? |
# |
Dec 12th 2019, 22:37 |
luizcmarin |
whole family together ... good time to rethink the manual .... :face_with_rolling_eyes: |
# |
Dec 12th 2019, 22:35 |
challgren |
Yep one of the 3 links on my.cakephp.org/user/username |
# |
Dec 12th 2019, 22:34 |
savant |
is that a website linked from somewhere? |
# |
Dec 12th 2019, 22:32 |
challgren |
http://community.cakephp.org/ is coming back name not resolved |
# |
Dec 12th 2019, 22:31 |
savant |
sites should be coming back online, im checking each one one-by-one |
# |
Dec 12th 2019, 22:23 |
savant |
GhostPHP |
# |
Dec 12th 2019, 22:23 |
savant |
I did not |
# |
Dec 12th 2019, 22:23 |
challgren |
He probably posted that tweet :P |
# |
Dec 12th 2019, 22:23 |
savant |
:) |
# |
Dec 12th 2019, 22:23 |
savant |
I am the team! |
# |
Dec 12th 2019, 17:05 |
noel |
Ah never mind... was `edit(event)` instead of `edit(this)` |
# |
Dec 12th 2019, 17:03 |
noel |
The above sort of works, but it doesn't pass the event in. |
# |
Dec 12th 2019, 17:02 |
noel |
E.g. `<?= $this->Html->link('<q-icon name="edit" />', ['action' => 'edit', $enquiry->id], ['escape' => false, 'onclick' => 'edit(this)']) ?>` ```<script> function edit(event) { console.log('edit'); console.log(event); event.stopPropagation(); window.top.location.href = "http://localhost:8080/#/enquiry"; } </script>``` |
# |
Dec 12th 2019, 17:02 |
noel |
Is there a way that I can reference a javascript function defined in my template in the `onclick` value of an HTML link generated by Cake? (The docs don't show such an example). |
# |
Dec 12th 2019, 16:01 |
ricksaccous |
good call that's prob it |
# |
Dec 12th 2019, 16:00 |
ricksaccous |
it was looking for the setTemplate widget XD |
# |
Dec 12th 2019, 16:00 |
neothermic |
which is why the errors didn't make sense! |
# |
Dec 12th 2019, 16:00 |
ricksaccous |
lol |
# |
Dec 12th 2019, 16:00 |
neothermic |
I ponder if the call function of formhelper tried to make a setTemplate input |
# |
Dec 12th 2019, 15:59 |
neothermic |
ooh! |
# |
Dec 12th 2019, 15:59 |
neothermic |
I ponder why it didn't complain about... oh.. |
# |
Dec 12th 2019, 15:56 |
ricksaccous |
awesome! |
# |
Dec 12th 2019, 15:55 |
neothermic |
100% better :) |
# |
Dec 12th 2019, 15:54 |
neothermic |
weird! |
# |
Dec 12th 2019, 15:54 |
neothermic |
aha, that fixed it |
# |
Dec 12th 2019, 15:53 |
ricksaccous |
good luck |
# |
Dec 12th 2019, 15:53 |
neothermic |
but we'll see |
# |
Dec 12th 2019, 15:53 |
neothermic |
sadly my target is 7.1... |
# |
Dec 12th 2019, 15:53 |
neothermic |
but I'm gonna throw down the gauntlet of "we must update" next month |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
i still remember your plight |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
hahaha |
# |
Dec 12th 2019, 15:52 |
neothermic |
yep! |
# |
Dec 12th 2019, 15:52 |
neothermic |
so I can't use anything higher because the PHP version requirement got bumped |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
all for pdfs |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
:( |
# |
Dec 12th 2019, 15:52 |
neothermic |
cause it's sadly still running on the same servers as the 2.x platform, which is currently still on 5.5 ¬_¬ |