# |
Mar 10th 2018, 09:06 |
birdy247 |
Looks like you might be owing someone some $$ soon... maybe yourself ;) |
# |
Mar 10th 2018, 09:05 |
birdy247 |
@bravo-kernel lol |
# |
Mar 10th 2018, 09:04 |
birdy247 |
Morning |
# |
Mar 10th 2018, 08:19 |
bravo-kernel |
https://twitter.com/bravo_kernel/status/972385939338289153 |
# |
Mar 10th 2018, 08:19 |
bravo-kernel |
https://twitter.com/bravo_kernel/status/972385308632342528 |
# |
Mar 10th 2018, 06:01 |
beatricz.emmanuel |
i am trying to complete the bookmarker tutorial and the findTagged() method is not displaying anything |
# |
Mar 10th 2018, 01:45 |
turkles |
annoyingly count() gives me result of 1.. it's only on execution it dies |
# |
Mar 10th 2018, 00:56 |
slackebot |
Action: turkles waits for someone to wake up |
# |
Mar 9th 2018, 23:58 |
turkles |
$query=$this->Factions->find()->where(['Factions.id' => $this->fac]); foreach($updatelist as $this->target_type) { $query->contain($this->target_type, function ($q) { return $q->where([$this->target_type.'.id >' => $this->factionUpdate[$this->fac][$this->target_type],'faction_id' => $this->fac]); }); } |
# |
Mar 9th 2018, 23:57 |
turkles |
Anyone used contain constraints in 3.5? I keep getting errors that my id column is not found, but I can see it when I debug the query as the defaultTypes part |
# |
Mar 9th 2018, 20:32 |
joopm |
okey thank i take a look |
# |
Mar 9th 2018, 20:31 |
watermark |
Here's some logic I've used to pull the messages out, see if this helps out all. https://gist.github.com/watermark/8ca96c84ccd9c80b214174bb988ab0a2 |
# |
Mar 9th 2018, 20:28 |
joopm |
rule message |
# |
Mar 9th 2018, 20:27 |
joopm |
but not the specific |
# |
Mar 9th 2018, 20:27 |
joopm |
well its show me only Flash->error("message") |
# |
Mar 9th 2018, 20:26 |
watermark |
howdy |
# |
Mar 9th 2018, 20:26 |
joopm |
hello watermark |
# |
Mar 9th 2018, 20:20 |
watermark |
joopm: rules are run after a save is attempted. You should be able to get the messages with table->getErrors() after the save (if the save failed) |
# |
Mar 9th 2018, 20:14 |
joopm |
but dont knowhowcan i show the error message when validation error have |
# |
Mar 9th 2018, 20:13 |
joopm |
i created an isunique rule |
# |
Mar 9th 2018, 20:13 |
joopm |
hello |
# |
Mar 9th 2018, 20:08 |
watermark |
So, I went looking for connection prefixes in Cake3. Just verifying, these still are not implemented natively in Cake3? The proposed solutions I've found don't handle tables in plugins. |
# |
Mar 9th 2018, 17:56 |
greenjam94 |
thanks anyways |
# |
Mar 9th 2018, 17:56 |
greenjam94 |
nope… cause it works now.. I’m so confused.. maybe cache refreshed after trying X times.. |
# |
Mar 9th 2018, 17:55 |
savant |
can you show the output of the curl command? |
# |
Mar 9th 2018, 17:54 |
greenjam94 |
no i didn’t change apache |
# |
Mar 9th 2018, 17:52 |
savant |
thats a strange redirect, sounds like maybe something in your apache conf? |
# |
Mar 9th 2018, 17:52 |
savant |
what does that redirect? |
# |
Mar 9th 2018, 17:50 |
greenjam94 |
thanks, got it working, one roadblock I hit.. I have a path /guides and created a folder in webroot with the same name. now going to /guides in URL redirects to /webroot/guides even after renaming the folder. How do I stop that? |
# |
Mar 9th 2018, 16:49 |
savant |
https://github.com/gourmet/common-mark |
# |
Mar 9th 2018, 16:33 |
greenjam94 |
cool, I’ll take a look. Do u have a favorite? |
# |
Mar 9th 2018, 16:32 |
dereuromark |
there are existing plugins and view files etc. quite straightforward |
# |
Mar 9th 2018, 16:31 |
greenjam94 |
Hi all, does anyone have experience with managing markdown text files in cake? Like in a temple pulling in a .md file and parsing it into HTML with parsedown or something? |
# |
Mar 9th 2018, 16:15 |
mikesmoniker |
But we’ll either improve that or maybe look at joinWith or something. |
# |
Mar 9th 2018, 16:15 |
mikesmoniker |
That’s the direction we’re going, but our report builder currently ends up adding that as a sort of broken column because it assumes everything that comes back was asked for. |
# |
Mar 9th 2018, 16:14 |
savant |
not sure if it makes sense to have a “null” campaign_run object |
# |
Mar 9th 2018, 16:14 |
savant |
but yeah i would inject the id at least |
# |
Mar 9th 2018, 16:14 |
savant |
gimme |
# |
Mar 9th 2018, 16:14 |
savant |
oooo a report builder |
# |
Mar 9th 2018, 16:14 |
mikesmoniker |
In this case the select() is dynamic, coming from a “report builder” interface. |
# |
Mar 9th 2018, 16:14 |
savant |
because you dont have an intermediate object |