# |
Jun 18th 2018, 15:16 |
josbeir |
italy agreed |
# |
Jun 18th 2018, 15:15 |
neon1024 |
I’m quite surprised that teams like Morroco and Iran qualified and other big teams like Italy and Netherlands didn’t, nor did the USA |
# |
Jun 18th 2018, 15:14 |
josbeir |
indeed |
# |
Jun 18th 2018, 15:13 |
neon1024 |
..not to mention Mexico beating Germany! |
# |
Jun 18th 2018, 15:13 |
josbeir |
hence the 'probably' :) |
# |
Jun 18th 2018, 15:13 |
neon1024 |
Well, you say that, but there have been a few surprises already. Like the Argentinian and Brazilian draws |
# |
Jun 18th 2018, 15:08 |
josbeir |
panama will probably be crushed but you never know |
# |
Jun 18th 2018, 15:07 |
saeideng |
goal was near |
# |
Jun 18th 2018, 15:07 |
josbeir |
.. lets hope so :) :) |
# |
Jun 18th 2018, 15:06 |
saeideng |
nice |
# |
Jun 18th 2018, 15:06 |
josbeir |
red |
# |
Jun 18th 2018, 15:06 |
saeideng |
white ? red ? |
# |
Jun 18th 2018, 15:05 |
josbeir |
yes :P |
# |
Jun 18th 2018, 15:05 |
saeideng |
are you from Belgium ? |
# |
Jun 18th 2018, 15:03 |
josbeir |
:soccer: go :flag-be: :flag-be: :flag-be: |
# |
Jun 18th 2018, 15:01 |
josbeir |
i created an abstract class for this so i can load site specific configs in shell too |
# |
Jun 18th 2018, 15:01 |
josbeir |
i have a global configuration, then i have configurations per site, the middleware merges this configuration with the global config. Then your site is 'domain' aware :slightly_smiling_face: |
# |
Jun 18th 2018, 15:00 |
josbeir |
all depends on what you try to achieve |
# |
Jun 18th 2018, 15:00 |
josbeir |
yeah saw that some time ago, but thats overkill for most cases |
# |
Jun 18th 2018, 14:59 |
itmpls |
ah ok, because I was looking into using https://github.com/multidimension-al/cakephp-subdomains |
# |
Jun 18th 2018, 14:56 |
josbeir |
its not that hard, just load do stuff based on hostname |
# |
Jun 18th 2018, 14:55 |
josbeir |
no created something myself |
# |
Jun 18th 2018, 14:55 |
josbeir |
i created a middleware that loads configuration based on given hostname |
# |
Jun 18th 2018, 14:55 |
itmpls |
are you using any plugins to handle the routing/middleware for that? |
# |
Jun 18th 2018, 14:54 |
josbeir |
what do you need to know @itmpls? |
# |
Jun 18th 2018, 14:54 |
josbeir |
i'm working on a multi domain/site project right now |
# |
Jun 18th 2018, 14:44 |
itmpls |
trying to manage the subdomains in the db basically |
# |
Jun 18th 2018, 14:44 |
itmpls |
anyone use a plugin related to a dynamic subdomain routing setup for 3.6+ ? |
# |
Jun 18th 2018, 13:55 |
rudy1976s |
save works fine |
# |
Jun 18th 2018, 13:52 |
josbeir |
how are you saving your data? |
# |
Jun 18th 2018, 13:51 |
josbeir |
it should work |
# |
Jun 18th 2018, 13:51 |
rudy1976s |
it is |
# |
Jun 18th 2018, 13:51 |
josbeir |
the trough class should be the class for your join table |
# |
Jun 18th 2018, 13:50 |
rudy1976s |
I have Posts belongsToMany Categories with a belongsToMany through association |
# |
Jun 18th 2018, 13:50 |
josbeir |
it should work as a belongstomany is just a shorthand |
# |
Jun 18th 2018, 13:50 |
josbeir |
then check if the trough class is working and is called etc |
# |
Jun 18th 2018, 13:50 |
rudy1976s |
yes |
# |
Jun 18th 2018, 13:50 |
josbeir |
@rudy1976s did you also setup the counter caches in the trough class? You need to define belongsTo definitions in the trough class |
# |
Jun 18th 2018, 13:38 |
rudy1976s |
I cannot make coiunterCache working on belongsToMany: I have create though Class |
# |
Jun 18th 2018, 13:27 |
lorenzo |
let’s see |
# |
Jun 18th 2018, 13:25 |
mikeydotnu |
2 lines of code |