Log message #4046322

# At Username Text
# Jun 29th 2017, 13:23 glanceded I need to make the routes depend on the domain. Is there a Cake way to achive this?
# Jun 29th 2017, 13:23 glanceded Hi guys. I'm facing a problem and I don't know how to manage it.
# Jun 29th 2017, 13:17 neon1024 @josexato Yes you can, but the associated entity will need to be contained when getting the parent entity, then you can access it as you would any other property in your virtual field method. You might want to check, inside the virtual property method, to ensure the association exists before you try and use it though, to prevent errors
# Jun 29th 2017, 13:15 josexato I'm using virtual variables now, but when I want to create a virtual variable based on a "sub-entity" attribute it say it null
# Jun 29th 2017, 13:14 josexato good morning, one question is it possible to get a virtual variable from an entity to do something like $article->authorname ?
# Jun 29th 2017, 12:58 jarard params were wrong :)
# Jun 29th 2017, 12:54 jarard and this beforeFind() must be an instance of Cake\ORM\Query :)
# Jun 29th 2017, 12:50 cake-novice Admad if you can also ans me.. :) please
# Jun 29th 2017, 12:50 cake-novice hmic, if you are aroun, can you ans " hmic, one thing i applied HABTM and can see raw mysql query . its like " ON (`LeadSalePersons`.`lead_id` IN (4228, 4229, 4230, 4231, 4232, 4233....and so on......) ; "
# Jun 29th 2017, 12:39 jarard use Cake\ORM\Query; at the top of my PropertiesTable
# Jun 29th 2017, 12:39 jarard is that Cake\ORM\Table;
# Jun 29th 2017, 12:36 admad you forgot to add "use" statment
# Jun 29th 2017, 12:35 jarard have I set my query up wrong?
# Jun 29th 2017, 12:34 jarard I'm getting beforeFind() must be an instance of Cake\ORM\Query,
# Jun 29th 2017, 12:34 jarard I'm trying to add an active=1 condition to my beforeFind: https://gist.github.com/spacebiscuit/87cf19c79215b753e054c9f1b2bc7f23
# Jun 29th 2017, 12:33 cake-novice now its not a Cakephp 2 question :P
# Jun 29th 2017, 12:32 cake-novice is this HABTM will give me ?
# Jun 29th 2017, 12:32 cake-novice hmic, one thing i applied HABTM and can see raw mysql query . its like " ON (`LeadSalePersons`.`lead_id` IN (4228, 4229, 4230, 4231, 4232, 4233....and so on......) ;
# Jun 29th 2017, 12:29 cake-novice enjoy
# Jun 29th 2017, 12:28 hmic thanks for the props, but i might only be the chan troll :=
# Jun 29th 2017, 12:27 cake-novice *than
# Jun 29th 2017, 12:27 cake-novice you are expert then me :D
# Jun 29th 2017, 12:26 hmic i'm not an expert :8
# Jun 29th 2017, 12:25 cake-novice i asked them "HMIC cakephp expert saying upgrade to Cakephp 3"
# Jun 29th 2017, 12:25 cake-novice hmic, agree ...
# Jun 29th 2017, 12:24 hmic but it makes next to no sence to learn things that are already outdated, especially in a fast moving field...
# Jun 29th 2017, 12:23 cake-novice just learning things
# Jun 29th 2017, 12:22 cake-novice i am also learning Cakephp 3 . i am a go lang programmer and here a PHP trainee for some time.. :P
# Jun 29th 2017, 12:21 cake-novice jay ;)
# Jun 29th 2017, 12:20 jay :B
# Jun 29th 2017, 12:20 jay right!? Why on earth would you put them on PHP
# Jun 29th 2017, 12:19 hmic having trainees learn outdated technology for no good reason :~
# Jun 29th 2017, 12:19 cake-novice hmic, ya i will discuss with them
# Jun 29th 2017, 12:19 jay cake-novice ^ this
# Jun 29th 2017, 12:18 hmic even more important it gets upgraded ASAP :D
# Jun 29th 2017, 12:18 hmic encourage them to upgrade :P
# Jun 29th 2017, 12:18 cake-novice its running project ,, i m not owner of this project. i am just a trainee.. :)
# Jun 29th 2017, 12:17 jay cake-novice > why can't you upgrade?
# Jun 29th 2017, 12:16 cake-novice jay, i cant upgrade this project. here in my school, i am working on this , but side by side i am learning cakephp 3
# Jun 29th 2017, 12:14 jay @cake_novice why can't you upgrade?
# Jun 29th 2017, 12:14 cake-novice :D