# |
Aug 30th 2019, 12:36 |
yadav.manu36 |
but i am stuck in this functionality now |
# |
Aug 30th 2019, 12:36 |
yadav.manu36 |
I am implementing auth functionality for my new project |
# |
Aug 30th 2019, 12:32 |
javier.villanueva |
what are you doing? |
# |
Aug 30th 2019, 12:27 |
yadav.manu36 |
I can't move forward. so please help me. |
# |
Aug 30th 2019, 12:25 |
yadav.manu36 |
I am stuck now |
# |
Aug 30th 2019, 12:24 |
javier.villanueva |
I use AuthComponent sorry |
# |
Aug 30th 2019, 12:23 |
yadav.manu36 |
i am using CakePHP 3.8.2 version |
# |
Aug 30th 2019, 12:23 |
javier.villanueva |
ok ok |
# |
Aug 30th 2019, 12:23 |
yadav.manu36 |
No this is CakePHP Authentication 1.1 version |
# |
Aug 30th 2019, 12:23 |
javier.villanueva |
ahm not...sorry |
# |
Aug 30th 2019, 12:22 |
javier.villanueva |
what version do you use? |
# |
Aug 30th 2019, 12:22 |
javier.villanueva |
but this is cakephp 1 doc |
# |
Aug 30th 2019, 12:21 |
yadav.manu36 |
@javier.villanueva i am follow this example : https://book.cakephp.org/authentication/1.1/en/index.html |
# |
Aug 30th 2019, 12:20 |
javier.villanueva |
or what plugin? |
# |
Aug 30th 2019, 12:20 |
javier.villanueva |
are you using https://book.cakephp.org/3.0/en/controllers/components/authentication.html ? |
# |
Aug 30th 2019, 12:16 |
yadav.manu36 |
Hi I am struggling to login using Authentication plugin so please help me. i have been getting below error also please check attached screenshot. Result {#76 ▼ #_status: "FAILURE_OTHER" #_data: null #_errors: array:1 [▼ 0 => "Login URL `http://localhost/admin/admin-user-manager/admin-users/login` did not match `adminUsers` or `login` or `admin` or `AdminUserManager`." ] } |
# |
Aug 30th 2019, 11:27 |
admad |
@javier.villanueva use CrudView plugin and you won't have to bake templated :slightly_smiling_face: |
# |
Aug 30th 2019, 11:12 |
else-where |
I had used `Creator` or `Modifier` , `creator_id` and `modifier_id` but like `created_by_id` also make a sense. |
# |
Aug 30th 2019, 10:56 |
spriz |
yars |
# |
Aug 30th 2019, 10:42 |
neon1024 |
Then I can have an association of `CreatedByUser` and property of `created_by_user` with a User entity in :) |
# |
Aug 30th 2019, 10:42 |
neon1024 |
Gone with `created_by_user_id` 8) |
# |
Aug 30th 2019, 10:42 |
slackebot2 |
Action: neon1024 quickly adds |
# |
Aug 30th 2019, 10:41 |
neon1024 |
Eek |
# |
Aug 30th 2019, 10:39 |
spriz |
yeah if someone put a id in a column without `_id` I'll spank' em |
# |
Aug 30th 2019, 10:39 |
neon1024 |
Ah yeah `_id` suffix is a good idea @spriz |
# |
Aug 30th 2019, 10:39 |
spriz |
nullable `created_by_id` and `modified_by_id` |
# |
Aug 30th 2019, 10:38 |
spriz |
Same here @neon1024 :slightly_smiling_face: |
# |
Aug 30th 2019, 10:31 |
challgren |
I personally do |
# |
Aug 30th 2019, 10:24 |
neon1024 |
Feels like it would be handy |
# |
Aug 30th 2019, 10:24 |
neon1024 |
With the Footprint behaviour’s created_by and modified_by do most people add an association for it ? |
# |
Aug 30th 2019, 10:21 |
javier.villanueva |
@maiconpinto? |
# |
Aug 30th 2019, 10:05 |
conehead |
Yep. The tutorial was just outdated |
# |
Aug 30th 2019, 10:05 |
javier.villanueva |
Anyone use cakephp-adminlte-theme ? I am trying to override bake templates but I dont get it. I have been able to override layouts and elements without problems :( |
# |
Aug 30th 2019, 10:04 |
challgren |
THeres a test case for it |
# |
Aug 30th 2019, 10:04 |
challgren |
https://github.com/cakephp/cakephp/blob/575b740b4f9f7517ae94bca2bfe2b6dc10fe5599/tests/TestCase/View/Widget/SelectBoxWidgetTest.php#L167 |
# |
Aug 30th 2019, 10:03 |
conehead |
https://github.com/cakephp/cakephp/blob/575b740b4f9f7517ae94bca2bfe2b6dc10fe5599/src/View/Widget/SelectBoxWidget.php#L62 |
# |
Aug 30th 2019, 10:02 |
conehead |
it needs to be `'text' => 'Two',` now instead of `'name' => 'Two',` |
# |
Aug 30th 2019, 10:02 |
conehead |
Ah |
# |
Aug 30th 2019, 10:01 |
dereuromark |
i am sure there must be some test case for this. |
# |
Aug 30th 2019, 10:01 |
dereuromark |
oha.. I wonder if that is a regression |
# |
Aug 30th 2019, 09:58 |
conehead |
Just returns `Two2extra` as name. So it merges just all the values together |