Log message #3881890

# At Username Text
# May 27th 2016, 22:37 djboz Itâ??s the html code of that index.ctp file
# May 27th 2016, 22:37 djboz With Slack, Iâ??m using a slash command, and hitting my Controller/index() url. Slack allows up to 3000ms for a reply, and I reply with a general echo statement, which works. But it also includes all the html code, this occurs even without the echo statement.
# May 27th 2016, 22:36 savant you did what
# May 27th 2016, 22:36 djboz @savant: I did, but everytime it comes back to my slack account with the html of that document as well as the echoâ??ed statement
# May 27th 2016, 22:35 savant what do you mean, just the echo statement
# May 27th 2016, 22:33 djboz Hi guys, Iâ??m sending a request from Slack, and it always returns the cakephp html layout of that template, how do I stop my method from echoing back the html and just the echo statement?
# May 27th 2016, 21:42 ionas as you can see on cakefest.org
# May 27th 2016, 21:42 ionas this time it is in Amsterdam
# May 27th 2016, 21:41 phpcoder where it will be located ?
# May 27th 2016, 21:41 ionas no
# May 27th 2016, 21:41 phpcoder are you giving a talk ?
# May 27th 2016, 21:41 ionas its once a year
# May 27th 2016, 21:40 ionas but the workshops are over, conference is left for tomorrow and sunday
# May 27th 2016, 21:40 ionas I mean you â??still can"
# May 27th 2016, 21:40 ionas next time it is in europe you should
# May 27th 2016, 21:40 ionas oh, so you could have made it
# May 27th 2016, 21:40 phpcoder rome
# May 27th 2016, 21:40 phpcoder rom
# May 27th 2016, 21:39 ionas where you from?
# May 27th 2016, 21:39 ionas well the conferences are still up
# May 27th 2016, 21:39 ionas http://cakefest.org/
# May 27th 2016, 21:39 ionas like yesterday, today etc
# May 27th 2016, 21:39 phpcoder passed ?
# May 27th 2016, 21:39 phpcoder when ?
# May 27th 2016, 21:38 ionas are you?
# May 27th 2016, 21:38 ionas phpcoder: how come you are not at cakefest
# May 27th 2016, 21:38 phpcoder thanksù
# May 27th 2016, 21:38 phpcoder ok!
# May 27th 2016, 21:38 phpcoder yes
# May 27th 2016, 21:38 ionas however Iâ??d probabably build a finder and then put hydrate false and formatresults into another method that is non-chainable (no finder) because stuff stops there ;)
# May 27th 2016, 21:37 ionas to transform the result to just one single number
# May 27th 2016, 21:37 phpcoder i got it! thanks!!
# May 27th 2016, 21:37 ionas you can probably also use formatresults
# May 27th 2016, 21:37 phpcoder aah ok
# May 27th 2016, 21:36 phpcoder let me see
# May 27th 2016, 21:36 ionas and then donâ??t use ->count()
# May 27th 2016, 21:36 ionas http://book.cakephp.org/3.0/en/orm/query-builder.html#using-sql-functions
# May 27th 2016, 21:35 ionas http://book.cakephp.org/3.0/en/orm/query-builder.html#getting-arrays-instead-of-entities
# May 27th 2016, 21:34 phpcoder (tested on workbench)
# May 27th 2016, 21:34 phpcoder i will post you the query that works
# May 27th 2016, 21:34 phpcoder one moment