# |
Jun 30th 2017, 11:49 |
admad |
https://api.cakephp.org/3.4/class-Cake.ORM.Behavior.TreeBehavior.html |
# |
Jun 30th 2017, 11:49 |
heter |
cause on description of tree behavior there's nothing about it |
# |
Jun 30th 2017, 11:48 |
heter |
is it described anywhere in doc? |
# |
Jun 30th 2017, 11:48 |
heter |
nope |
# |
Jun 30th 2017, 11:48 |
admad |
@heter did you check findPath() ? |
# |
Jun 30th 2017, 11:46 |
heter |
cakephp 3.4.x btw |
# |
Jun 30th 2017, 11:46 |
heter |
i mean nested parents |
# |
Jun 30th 2017, 11:46 |
heter |
hello there, i have question about tree behavior - ive got like child on 7th depth, is there any easy way that i can get all parents of record? something like we have with children but like parents ? |
# |
Jun 30th 2017, 11:42 |
juststeveking |
I have extended the behaviour now, just to test and see if I can get the routes to work |
# |
Jun 30th 2017, 11:42 |
juststeveking |
Thanks :slightly_smiling_face: |
# |
Jun 30th 2017, 11:41 |
neon1024 |
Yes, but you’ll just need to select 2.x from the documentation version dropdown in the top right hand corner of the documentation website |
# |
Jun 30th 2017, 11:38 |
juststeveking |
It is a legacy application I've picked up |
# |
Jun 30th 2017, 11:38 |
juststeveking |
Does that work the same with cake2? |
# |
Jun 30th 2017, 11:36 |
neon1024 |
You can find more information in the book, https://book.cakephp.org/3.0/en/index.html |
# |
Jun 30th 2017, 11:36 |
neon1024 |
You’d need to make an admin prefixed controller in your application, which used the plugins table classes, loaded some data and set it to the view |
# |
Jun 30th 2017, 11:36 |
juststeveking |
Sorry! |
# |
Jun 30th 2017, 11:36 |
juststeveking |
How do I view them? I am soo not used to the cake way yet |
# |
Jun 30th 2017, 11:35 |
neon1024 |
So perhaps I spoke too soon! |
# |
Jun 30th 2017, 11:35 |
neon1024 |
Although it has admin prefix templates |
# |
Jun 30th 2017, 11:35 |
neon1024 |
Well it looks like that’s up to you |
# |
Jun 30th 2017, 11:33 |
juststeveking |
However I also want to Audits to be viewable? |
# |
Jun 30th 2017, 11:33 |
juststeveking |
This is the one I am using: https://github.com/jippi/cakephp-audit-log |
# |
Jun 30th 2017, 11:32 |
juststeveking |
I guess I could extend it a little |
# |
Jun 30th 2017, 11:32 |
juststeveking |
THat is where I got the one that slightly works |
# |
Jun 30th 2017, 11:31 |
neon1024 |
https://github.com/FriendsOfCake/awesome-cakephp |
# |
Jun 30th 2017, 11:31 |
neon1024 |
First stop for me would be the awesome-cakephp list |
# |
Jun 30th 2017, 11:29 |
juststeveking |
Both plugins I have found: 1 didn't work, and the other only works partially |
# |
Jun 30th 2017, 11:28 |
juststeveking |
I wanted to record full CRUD not just CUD |
# |
Jun 30th 2017, 11:27 |
juststeveking |
I tried one of them but it didn't work 100% as expected |
# |
Jun 30th 2017, 11:27 |
mirec |
I think there is some plugin, check github |
# |
Jun 30th 2017, 11:26 |
juststeveking |
Any advise? |
# |
Jun 30th 2017, 11:26 |
juststeveking |
I have to add some auditable behaviour and I am new to cake |
# |
Jun 30th 2017, 11:26 |
juststeveking |
Speaking of cake 2 .... |
# |
Jun 30th 2017, 10:47 |
brettl |
I know what you mean we have Cake 2 project that i have to go back to every now and again and update i hate it so much |
# |
Jun 30th 2017, 10:10 |
neon1024 |
Urgh, working on an old Cake 2 project feels so horrible now |
# |
Jun 30th 2017, 09:36 |
clementcrown |
i have fixed the error now, please let us forget about this...Thank you all once again... |
# |
Jun 30th 2017, 09:35 |
hmic |
i do ask questions before thinking too, thats fine. i did not insult anyone. i'm quite certain about that. - i could have phrased the sentence like "i would be ashamed of asking..." instead of you should be. given. |
# |
Jun 30th 2017, 09:35 |
clementcrown |
anyway, thank you all |
# |
Jun 30th 2017, 09:35 |
clementcrown |
@hmic, if you get angry with people's post, I will like to advice you that this is not the right platform for you to be....people who cant control their emotion are not supposed to be here...:grinning: |
# |
Jun 30th 2017, 09:34 |
hmic |
*without* even reading it obviously. *after* he got the perfect soltion at hand already :O |
# |
Jun 30th 2017, 09:33 |
neon1024 |
It’s all a learning experience :slightly_smiling_face: |