Log message #4016841

# At Username Text
# Apr 17th 2017, 11:24 aiena admad you use short php tags ?
# Apr 17th 2017, 10:48 admad https://github.com/cakephp/bake/blob/master/src/Template/Bake/Element/Controller/delete.ctp#L26
# Apr 17th 2017, 10:45 admad obinoob: this is why a delete action (or any action which modifies) db should not be performed in a GET request.
# Apr 17th 2017, 10:29 aiena in javascript
# Apr 17th 2017, 10:29 aiena Is it possible to use the html helper to generate URL's for cakephp
# Apr 17th 2017, 09:48 obinoob is there any cake native functionality to whitelist actions before return $this->redirect($this->Auth->redirectUrl()) ? Or I will have to implement my self?
# Apr 17th 2017, 09:41 obinoob i guess I'll have to drop some functionality here
# Apr 17th 2017, 09:37 obinoob it will be executed after proper login without the acknowledgment of the user
# Apr 17th 2017, 09:36 obinoob this is terrible because if someone makes an earlier request such as /delete/12
# 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