Log message #3942286

# At Username Text
# Oct 4th 2016, 12:32 Tippexs http://book.cakephp.org/3.0/en/views/helpers/form.html#setting-a-url-for-the-form
# Oct 4th 2016, 12:31 charolastra not quite. a view calls add() on an other controller and i'd like to return the the current view. so the ID needs to be passed along so it can be used with $this->redirect()
# Oct 4th 2016, 12:28 Tippexs @charlostra like http://www.google.com/search=foobar ?
# Oct 4th 2016, 12:24 charolastra when createing forms, how can i pass additional arguments to the action beeing called?
# Oct 4th 2016, 12:20 neothermic no, wait, i'm a fool
# Oct 4th 2016, 12:19 asunay @flangofas yes... i know hot its save in controller. but how to do this with behavior
# Oct 4th 2016, 12:13 neothermic ```$this->assertTags($result, array('img' => array('src' => 'preg:/(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{4})/', 'alt' => '')), true);``` -> looking at the assertTags function, it doesn't think that src is a regex match, but testing the regex that it uses to determine if there's a regex in the tests matches. *shrug*
# Oct 4th 2016, 12:13 willem I installed FriendsOfCake/CakePdf and copied the index viewfiles to the pdf folder. Now when i visit the page i do get a PDF with the results of the index, but no styling. I added fullbase => true to the css and removed all script calls
# Oct 4th 2016, 12:12 flangofas @asunay Table callback afterSave?
# Oct 4th 2016, 12:09 neothermic I can't get preg matching to work in assertTags ¬_¬
# Oct 4th 2016, 12:09 neothermic Hmrth
# Oct 4th 2016, 12:07 asunay how can i modify currently saved model (entity with after save?)
# Oct 4th 2016, 11:24 Tippexs THANKS!
# Oct 4th 2016, 11:24 Tippexs Is this the way to go? Or should I set the result in the PagesController initialize method?
# Oct 4th 2016, 11:23 Tippexs Hi together - i have a kind of a design question. On my ladingpage I need the result of an AppointmentsControllers method. I am going to display free apointments on my landingpage. now my question: Currently i use the _serialize method to get the result of this method as json output and do a json_decode on my frontpage.
# Oct 4th 2016, 11:14 dakota k4t http://php.net/dom
# Oct 4th 2016, 11:10 ndm Well, that description is like... I need a car... for... driving purposes :slightly_smiling_face:
# Oct 4th 2016, 11:09 rchavik he already stated his use case :)
# Oct 4th 2016, 11:07 ndm @k4t Without knowing your specific use case: http://stackoverflow.com/questions/3577641/how-do-you-parse-and-process-html-xml-in-php
# Oct 4th 2016, 11:04 k4t I want to find div and remove its content
# Oct 4th 2016, 10:51 Speud1 @k4T, depends what you want to do ;)
# Oct 4th 2016, 10:29 sonu_nk hi , when i am calling Router::url( $this->referer(), true ) it is throwing error Router class could not found..
# Oct 4th 2016, 10:26 k4t I need to remove some divs from Html string
# Oct 4th 2016, 10:26 k4t what should I use to parse html strings in Cake3?
# Oct 4th 2016, 10:07 dereuromark The first solution is the quick hack :slightly_smiling_face:
# Oct 4th 2016, 10:07 dereuromark But a cleaner solution could be your own renderer: http://book.cakephp.org/3.0/en/development/errors.html#extending-and-implementing-your-own-exception-handlers
# Oct 4th 2016, 10:07 dereuromark It is possible that it only allows 400 and 500 customization by default, you would need to switch inside that 400.ctp manually maybe
# Oct 4th 2016, 10:05 dereuromark that's weird
# Oct 4th 2016, 10:04 dereuromark if found it will use a custom layout, otherwise the default one
# Oct 4th 2016, 10:03 dereuromark 401 is probably the code for your exception right?
# Oct 4th 2016, 10:03 dereuromark look in the Error folder, there should be errorxxx.ctp things
# Oct 4th 2016, 10:01 hmic you can render a view manually, sure.
# Oct 4th 2016, 09:55 hmic you should have the data in the response already
# Oct 4th 2016, 09:55 hmic no
# Oct 4th 2016, 09:45 jay dakota noted,thanks dude
# Oct 4th 2016, 09:44 dakota but just be aware, nodejs is better suited as a websocket server
# Oct 4th 2016, 09:44 dakota Take a look at reactphp
# Oct 4th 2016, 09:44 jay oo
# Oct 4th 2016, 09:44 jay dakota run - use case: When a client POSTS a new note against entity, other clients viewing that entity view it immediately
# Oct 4th 2016, 09:44 dakota http://slides.com/wyrihaximus/getting-started-with-reactphp-cakfest-2016
# Oct 4th 2016, 09:42 dakota jay, do you want to connect to a websocket, or run a websocket server?