Log message #4016832

# At Username Text
# Apr 17th 2017, 09:35 obinoob jungle-rock: The last request is being executed by return $this->redirect($this->Auth->redirectUrl())
# Apr 17th 2017, 09:31 jungle-rock use cakephp auth
# Apr 17th 2017, 09:31 obinoob I suspect that the last unauthorised request will be kept in session data right or somewhere else?
# Apr 17th 2017, 08:39 obinoob I've noticed that while logged off if i make a get request it will be executed after login! Is there a way I can disable that?
# Apr 17th 2017, 07:53 rudy1976s is there someone who translate locales other than english to help me a bit ?
# Apr 17th 2017, 07:52 rudy1976s Hello I cannot translate date in any way: I have followed cookbook setting proper intl things but dates are always translated into english
# Apr 17th 2017, 07:22 jungle-rock not related this group. but have anyone experience with zapier app?
# Apr 17th 2017, 07:18 technofection @dakota Hmm, I thought that as well.. So using hasMany instead and deep joining
# Apr 17th 2017, 07:02 dakota technofection I don’t think that’s possible to be honest
# Apr 17th 2017, 06:40 megan Hang around, when someone comes online that can answer they will jump in :slightly_smiling_face:
# Apr 17th 2017, 06:32 technofection @megan I have a question and asked above, no one is responding :( Need a solution urgently.
# Apr 17th 2017, 06:26 technofection Hi @megan Good Morning
# Apr 17th 2017, 06:25 megan Morning :slightly_smiling_face:
# Apr 17th 2017, 05:52 technofection @rchavik That does not work
# Apr 17th 2017, 05:41 aavrug Hey may be people not aware with your question or who can help is not around so just wait don't be rude.
# Apr 17th 2017, 05:40 technofection @nk-sonu Any idea?
# Apr 17th 2017, 05:33 technofection While doing find() on StudentsTable, how do I select the RelationMaster from the joiningtable (StudentContacts)
# Apr 17th 2017, 05:33 technofection StudentsTable $this->belongsToMany('Contacts', [ "through" => "StudentContacts" ]); ContactsTable $this->belongsToMany('Students', [ "through" => "StucentContacts" ]); StudentContactsTable $this->belongsTo('RelationMasters', [ 'foreignKey' => 'relation_id', 'joinType' => 'INNER' ]); $this->belongsTo('Students'); $this->belongsTo('Contacts');
# Apr 17th 2017, 05:33 rrueco I was able to remove it but with the use of jquery :(
# Apr 17th 2017, 05:28 rrueco sir, I just need to remove the class from one input. not for all
# Apr 17th 2017, 05:28 nk-sonu 'inputDefaults' => array( 'div' => 'form-group', //unset this ),
# Apr 17th 2017, 05:25 nk-sonu ah yes..got it..
# Apr 17th 2017, 05:25 rrueco I just need the form-control class, but form-group is automatically placed
# Apr 17th 2017, 05:25 rrueco @nk-sonu : that will remove the 'form-control' class
# Apr 17th 2017, 05:23 nk-sonu 'class' => '',
# Apr 17th 2017, 05:19 rrueco how do I remove the form-group class of an input?
# Apr 17th 2017, 05:18 nk-sonu do not send me..send here in channel.. experts will help once they will come.
# Apr 17th 2017, 05:17 technofection @nk-sonu Okay, let me send you, one sec.. I was doing in a different way and have to revert the code, 2 mins
# Apr 17th 2017, 05:17 nk-sonu else more expert are here..they will ans if they got the issue..wait for that
# Apr 17th 2017, 05:16 nk-sonu you should provide the code sample..i can only send you url for more help.. as i dont know what you did with your code.
# Apr 17th 2017, 05:15 technofection @nk-sonu I checked them, but those do not have answer of my question :(
# Apr 17th 2017, 05:14 nk-sonu https://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html> <https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html
# Apr 17th 2017, 05:12 technofection Okay thanks, let me try. Its 3.4
# Apr 17th 2017, 05:12 nk-sonu is it cakephp 2 or 3 ?
# Apr 17th 2017, 05:12 rchavik try contain('Contacts.StudentContacts')
# Apr 17th 2017, 05:11 technofection I can do contain["Contacts"] in StudentsTable, but don't know how to get the relationship from the joining table (StudentContacts) :(
# Apr 17th 2017, 05:09 technofection The problem is I don't how to contain the Relations table while fetching records with find() on Students Table
# Apr 17th 2017, 05:08 technofection Yeah I did
# Apr 17th 2017, 05:08 nk-sonu did you define relation in Model?
# Apr 17th 2017, 05:08 technofection @nk-sonu But I don't know how to connect relation table further use belongsToMany "through"
# Apr 17th 2017, 05:08 technofection @nk-sonu Yes, it does have it, student_id, contacts_id, relation_id