# |
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 |
# |
Apr 5th 2019, 20:36 |
leonardo.crecente |
thnks |
# |
Apr 5th 2019, 20:36 |
ricksaccous |
kk |
# |
Apr 5th 2019, 20:36 |
leonardo.crecente |
@ricksaccous I'll try it |
# |
Apr 5th 2019, 20:35 |
ricksaccous |
(where you use it) |
# |
Apr 5th 2019, 20:35 |
ricksaccous |
(where you use it |
# |
Apr 5th 2019, 20:34 |
ricksaccous |
and load the other auth configured differently elsewhere |
# |
Apr 5th 2019, 20:34 |
ricksaccous |
ie only load the current auth system in places where you are using it not everywhere |
# |
Apr 5th 2019, 20:34 |
ricksaccous |
in different places |
# |
Apr 5th 2019, 20:34 |
ricksaccous |
with different values |
# |
Apr 5th 2019, 20:34 |
ricksaccous |
then just load auth component differently |
# |
Apr 5th 2019, 20:34 |
ricksaccous |
oh |
# |
Apr 5th 2019, 20:33 |
leonardo.crecente |
@ricksaccous no, it will not. |
# |
Apr 5th 2019, 20:32 |
ricksaccous |
@leonardo.crecente will the different auth system share any of the same pages with the other auth system? |
# |
Apr 5th 2019, 19:17 |
leonardo.crecente |
Logged in clients will not access admin panel, the authentication is for others purposes |
# |
Apr 5th 2019, 19:15 |
slackebot2 |
Auth.loginRedirect for instance. Can someone help me? |
# |
Apr 5th 2019, 19:15 |
leonardo.crecente |
I'm working on a Cake 2 project that uses AuthComponent for users login into a admin panel (table users). Now I need to build a completely different login system for clients (table clients) with a different login form, different loginRedirect value, different unauthorizedRedirect value and so on. Reading the cookbook and some stackoverflow answers I just see some possibilities for others Auth.authenticate array values but not for |