Log message #4030264

# At Username Text
# May 19th 2017, 09:40 crazycoder i ahve a cell with a form, but i am using this cell inside a page where there are another form...so now how can i avoid conflicts?
# May 19th 2017, 09:40 crazycoder hello everybody
# May 19th 2017, 09:04 slackebot !google Cakephp cookbook
# May 19th 2017, 09:04 slackebot Command sent from Slack by hiromi2424:
# May 19th 2017, 09:03 metoyoko @hiromi2424 may I know the link thanks.
# May 19th 2017, 09:03 eax Hey folks - Any news on when 3.4.7 is released? :)
# May 19th 2017, 09:02 metoyoko but the result from controller was not json_encoded, I already handle this in ver. cakephp 2 using $this->layout = "ajax"; but in cakephp 3.4 it didnt work
# May 19th 2017, 09:01 hiromi2424 @metoyoko you should see cookbook first
# May 19th 2017, 09:00 Neon1024 I already have a job thanks :p
# May 19th 2017, 09:00 Neon1024 No! Write your own code! What a cheek
# May 19th 2017, 09:00 metoyoko may I have sample codes? thanks
# May 19th 2017, 09:00 metoyoko @neon1024 with callback result?
# May 19th 2017, 08:56 Neon1024 The way I ajax updated my tables, was to make the table row an element, then us ajax to hit a controller action, which rendered data, and returned row element html which I just inserted into the dom
# May 19th 2017, 08:54 metoyoko or result
# May 19th 2017, 08:54 metoyoko ajax with response
# May 19th 2017, 08:53 metoyoko Hi All, Using Cakephp 3.4, how to implement ajax. because i want to update table rows without submit and refresh page
# May 19th 2017, 08:53 birdy247 Ok thanks Neon1024
# May 19th 2017, 08:46 Neon1024 The code probably needs to be refactored, possibly into a component which can be attached to both controllers
# May 19th 2017, 08:45 Neon1024 In my opinion it is. It’s indicative of a code smell, arising from bad software design
# May 19th 2017, 08:43 birdy247 Is it a bad idea to call one controller action from another controller action??
# May 19th 2017, 08:18 igreat @robertpustulka thanks, found out it wasn't loaded in the autoload of the composer. It's working fine now
# May 19th 2017, 07:52 abc__ hii
# May 19th 2017, 07:41 abc__ anybody :D
# May 19th 2017, 07:39 abc__ $this->Bookmarks->tags->get($id) or something
# May 19th 2017, 07:39 abc__ i have 3 table, bookmarks, tags and bookmarks_tags, what query should i use to fetch a record from bookmarks_tags table?
# May 19th 2017, 07:14 slackebot this data and pass to every mailer, but maybe there's better way?
# May 19th 2017, 07:14 heter hi guys, ive got kind of architectural question, ive got email template where i have social media icons, other contact bullshit details, obviously i want to give my client access to change it whenever he wants, whats the best way to pass this data to every mailer ? i think its pointless to pass this as part of data for every mailer, can i do it kind of globally? so every mailer will just have it ? i was considering of just use some trait which
# May 19th 2017, 04:58 slackebot App\Model\Table\PaymentsTable::validationCustomerBalance(), called in .... One question: Why ?
# May 19th 2017, 04:58 slackebot $userid = $context['providers']['passed']['userid']; } I dont get why there is validator('default'), it should be *custom*? My code: $this->Payments->validator('CustomerBalance')->provider('passed', [ 'count' => 1000 ]); $this->Payments->patchEntity($payment, $toSave, [ 'validate' => 'CustomerBalance' ]); Warning (2): Missing argument 2 for
# May 19th 2017, 04:58 laahudra Hey! according to: If you need to pass additional data to your validation methods such as the current user’s id, you can use a custom dynamic provider from your controller. $this->Examples->validator('default')->provider('passed', [ 'count' => $countFromController, 'userid' => $this->Auth->user('id') ]); Then ensure that your validation method has the second context parameter. public function customValidationMethod($check, array
# May 19th 2017, 04:32 djbuss can I still have a tableless model like using array source ?
# May 19th 2017, 04:31 robertpustulka @igreat can you show your composer file? Also did you refresh autoloader? (`composer dumpa`)
# May 19th 2017, 04:30 theJoeCool ?
# May 19th 2017, 04:30 theJoeCool Hi, how can i dentify an user using the AuthComponent but from Cookies, I'm able to get the information to generae the validation but at the moment of identify() the user i get false
# May 19th 2017, 01:08 royalty thanks anyways gents have a good one
# May 19th 2017, 01:08 royalty anyway I suppose i don't need that anymore
# May 19th 2017, 00:43 royalty then unlink them?
# May 19th 2017, 00:43 royalty is it possible to load associations on the fly
# May 19th 2017, 00:36 royalty wew
# May 19th 2017, 00:36 royalty by finding someone else who already figured it out
# May 19th 2017, 00:36 royalty i figured out how to filter on join data http://stackoverflow.com/questions/31643906/cakephp-3-x-hasmany-through-association-find