Log message #4182493

# At Username Text
# Apr 7th 2019, 01:23 pedroseco so there are a lot of models doing queries on this one. Now I need to add a status to this but don’t want to change all other methods because they are a lot…
# Apr 7th 2019, 01:22 pedroseco yes
# Apr 7th 2019, 01:17 challgren Are the models associated?
# Apr 7th 2019, 01:16 pedroseco *way
# Apr 7th 2019, 01:16 pedroseco I was going to build a component for that, but was thinking if there was another wat
# Apr 7th 2019, 01:16 pedroseco 3.6
# Apr 7th 2019, 01:15 challgren @pedroseco what version of cake
# Apr 7th 2019, 01:09 pedroseco Hi guys, quick question, what would be the best option to limit the results of all queries from one model so it doesn’t filter where some condition is met? (this is a existing app and im adding a status to a model and don’t want the records to show on all other requests for that model if status is X)
# Apr 6th 2019, 21:55 challgren What I did in my old Cake2 app was setup the AuthComponent via prefixes and had different session keys based on the Auth type. [Admin, User, Tenant]
# Apr 6th 2019, 18:06 petteyg359 I'm writing a plugin that itself requires Muffin\Webservice, but PHPStorm is not picking up autocompletion unless I also depend on Muffin\Webservice in the base app. Using dereuromark/cakephp-ide-helper. Is this expected, or have I missed a step to get it to generate plugin completion?
# Apr 6th 2019, 17:03 mriec Hey guys. Can you please help me with a little issue with form? In table definition, I have requirePresence and notEmpty on some fields. FormHelper is supposed to add "required" param to inputs based on context/validator, isn't it? It does not work for me.
# Apr 6th 2019, 11:23 suggestions.live ok thanks ill give a try, but i need to know the basics first like what is routes and others stuff
# Apr 6th 2019, 11:22 admad Sorry, it's now the CMS tut :slightly_smiling_face:
# Apr 6th 2019, 11:22 admad @suggestions.live https://book.cakephp.org/3.0/en/tutorials-and-examples/cms/installation.html
# Apr 6th 2019, 11:20 suggestions.live doc
# Apr 6th 2019, 11:20 admad I suggest you try out the bookmarkr tutorial on the manual
# Apr 6th 2019, 11:19 suggestions.live @admad any usefull reources by which i can start ASAP
# Apr 6th 2019, 11:19 admad @suggestions.live it also has the `bake` cli tool which generates code for you
# Apr 6th 2019, 11:17 admad It sure is. Cake has the "convention over configuration" mantra which helps you get up and running quickly
# Apr 6th 2019, 11:15 suggestions.live Beginer to Frameworks is cake is right choice for first php framework
# Apr 6th 2019, 07:52 asdfgh do i must return true inside an event callback ?
# Apr 6th 2019, 07:52 asdfgh hello
# Apr 5th 2019, 21:20 abdualelah.mdy https://book.cakephp.org/3.0/en/orm/saving-data.html#saving-hasmany-associations
# Apr 5th 2019, 21:20 abdualelah.mdy found it
# Apr 5th 2019, 21:08 abdualelah.mdy for now, I have all the logic in the controller but I have feeling it is bad practice
# Apr 5th 2019, 21:06 abdualelah.mdy for example, I want to add user and that user has a profile image and the image in another table
# Apr 5th 2019, 21:05 ricksaccous and show more clear examples
# Apr 5th 2019, 21:05 ricksaccous i don't understand what you want, you'll have to elaborate more
# Apr 5th 2019, 21:04 abdualelah.mdy using contain?
# Apr 5th 2019, 21:03 ricksaccous because if the latter you might want to rethink your relationships
# Apr 5th 2019, 21:03 ricksaccous related tables, or the same data to multiple tables
# Apr 5th 2019, 21:03 abdualelah.mdy what is the best way to add data to multiple tables?
# Apr 5th 2019, 21:02 abdualelah.mdy hello
# Apr 5th 2019, 20:58 ricksaccous yeah it's awesome
# Apr 5th 2019, 20:57 leonardo.crecente I've already used wkhtmltopdf, it works like a charm! I liked it
# Apr 5th 2019, 20:53 ricksaccous it might help to just try using that plugin
# Apr 5th 2019, 20:53 ricksaccous https://github.com/FriendsOfCake/CakePdf
# Apr 5th 2019, 20:53 ricksaccous also are you using
# Apr 5th 2019, 20:53 blackjccl I'm using tcpdf
# Apr 5th 2019, 20:50 ricksaccous @blackjccl drop it and use wkhtmltopdf
# Apr 5th 2019, 20:44 blackjccl hello community, I have a problem with the tcpdf library when generating a pdf error message