# |
Sep 23rd 2011, 13:41 |
bhp |
However in beforeSave($Model) { echo "beforeSave was called"}. This is not shown, nor in the way you say it should. |
# |
Sep 23rd 2011, 13:41 |
bhp |
dakota; in DagBehavior.php; I've got, under setup($Model, $config){ echo 'DAG LOADED';}. And that is shown when I "saveAll". |
# |
Sep 23rd 2011, 13:39 |
dogmatic69 |
o/ |
# |
Sep 23rd 2011, 13:39 |
bhp |
morning! |
# |
Sep 23rd 2011, 13:39 |
destinydriven |
morning TooMuchCaffeine |
# |
Sep 23rd 2011, 13:39 |
TooMuchCaffeine |
morning |
# |
Sep 23rd 2011, 13:37 |
bhp |
Could be, of course |
# |
Sep 23rd 2011, 13:37 |
bhp |
Ah, I run into a RC bug? |
# |
Sep 23rd 2011, 13:37 |
dakota |
Looks fine to me. But something could be missing, don't know, haven't really used 2.0 much |
# |
Sep 23rd 2011, 13:33 |
bhp |
Of course there is more code, but this should suffice, right? |
# |
Sep 23rd 2011, 13:33 |
bhp |
dakota: http://bin.cakephp.org/view/1067295909 |
# |
Sep 23rd 2011, 13:30 |
robsdonkarls |
thank you very much |
# |
Sep 23rd 2011, 13:30 |
robsdonkarls |
dakota and rchavik , i just figured it out, was my plugin path was wrong, i was doing $components = array('Acl.AclReflector' ) and it should be 'AclManager.AclReflector' |
# |
Sep 23rd 2011, 13:28 |
rchavik |
robsdonkarls, this is for 1.3 or 2.0 ? for 1.3, components extends Object iirc |
# |
Sep 23rd 2011, 13:27 |
bhp |
thanks |
# |
Sep 23rd 2011, 13:26 |
dakota |
~tell bhp about bin |
# |
Sep 23rd 2011, 13:26 |
bhp |
dakota; I don't get itâ?¦ Where's the link to cake's pastebin agian? |
# |
Sep 23rd 2011, 13:26 |
bhp |
dakota; Still not working |
# |
Sep 23rd 2011, 13:25 |
destinydriven |
ADmad, ahh . . thanks again |
# |
Sep 23rd 2011, 13:25 |
ADmad |
destinydriven: use '/' . $this->params['url']['url'] instead |
# |
Sep 23rd 2011, 13:23 |
destinydriven |
* in url |
# |
Sep 23rd 2011, 13:23 |
destinydriven |
happens when I use $this->here inurl |
# |
Sep 23rd 2011, 13:22 |
dakota |
destinydriven: nope |
# |
Sep 23rd 2011, 13:22 |
robsdonkarls |
dakota: sure i can 1sec |
# |
Sep 23rd 2011, 13:22 |
destinydriven |
dakota, question on wizard plugin, did you ever have issues with urls having directories appearing twice? eg example.com/cakefolder/cakefolder/signup/ |
# |
Sep 23rd 2011, 13:21 |
bhp |
I'll hang in here for a bit more |
# |
Sep 23rd 2011, 13:21 |
bhp |
Thanks a million Dakota |
# |
Sep 23rd 2011, 13:21 |
dakota |
robsdonkarls: can you add the line you use to include the component, and also the stack trace for the warning |
# |
Sep 23rd 2011, 13:21 |
bhp |
â?? Okayâ?¦ Greatâ?¦ So then now I am doing something wrongâ?¦ Which is a lot more comforting than knowing it is just not working as expected ;o] |
# |
Sep 23rd 2011, 13:21 |
bhp |
When I save all then, I should be good, right? |
# |
Sep 23rd 2011, 13:21 |
dakota |
bhp: yup |
# |
Sep 23rd 2011, 13:20 |
bhp |
Yeah so that would be: Property hasMany PropertyProperties, PropertiesProperty belongsTo Property â?? right? |
# |
Sep 23rd 2011, 13:20 |
robsdonkarls |
dakota: http://bin.cakephp.org/view/2006603713 |
# |
Sep 23rd 2011, 13:19 |
dakota |
bhp: with a saveAll, that would (iirc) |
# |
Sep 23rd 2011, 13:19 |
bhp |
I must be doing something wrong in that sense than |
# |
Sep 23rd 2011, 13:19 |
bhp |
Dakota; yeah! But why doesn't that work either? ;o] |
# |
Sep 23rd 2011, 13:18 |
dakota |
~tell robsdonkarls about bin |
# |
Sep 23rd 2011, 13:18 |
robsdonkarls |
thats it |
# |
Sep 23rd 2011, 13:18 |
robsdonkarls |
but i have the method startup implemented on my component |
# |
Sep 23rd 2011, 13:18 |
robsdonkarls |
dakota: im sry man, cant be more clear, what i said was i m getting this warning -> call_user_func_array() expects parameter 1 to be a valid callback, class 'AclManagerComponent' does not have a method 'startup' |
# |
Sep 23rd 2011, 13:18 |
bhp |
;o] |