Log message #1110249

# At Username Text
# Oct 22nd 2009, 13:18 alan|macbook dogmatic : here is the debug of $stuff : http://bin.cakephp.org/view/1735825405
# Oct 22nd 2009, 13:17 dogmatic69 jcrawford: that is not what happens
# Oct 22nd 2009, 13:17 jcrawford would you get a name collision if 2 different plugins had classes named the same or is it just for the apps controllers and plugin controllers?
# Oct 22nd 2009, 13:17 dogmatic69 var $helpers = array( 'Tree' => array( 'model' => 'YourModel', 'alias' => 'field_name_i_think' ) );
# Oct 22nd 2009, 13:17 jcrawford dogmatic69 i am the new guy and i am the one new to cake but even i see they are venturing down a dangerous road, they are not prefixing the plugin controllers etc with the plugin name so they may end up with name collisions
# Oct 22nd 2009, 13:16 dogmatic69 alan|macbook: before that.... have you set the options?
# Oct 22nd 2009, 13:15 dogmatic69 pr( $model); pr( $alias); exit
# Oct 22nd 2009, 13:15 crux hey eyeryone
# Oct 22nd 2009, 13:15 alan|macbook dogmatic69: i'm a new baker... could you precise what vars you want me to debug ?
# Oct 22nd 2009, 13:13 dogmatic69 plugins are the S**T, you will never look back... one thing you must never forget is Plugin.Model
# Oct 22nd 2009, 13:13 jcrawford time to read read read :D
# Oct 22nd 2009, 13:12 alan|macbook that's all
# Oct 22nd 2009, 13:12 dogmatic69 $content = $result[$model][$alias]; that is the error.. can you debug all the vars and let me know what they contain
# Oct 22nd 2009, 13:12 jcrawford oh boy a new hurdle for me, work just pushed me to another project that uses plugins heh
# Oct 22nd 2009, 13:12 alan|macbook dogmatic69 : $content = $result[$model][$alias];
# Oct 22nd 2009, 13:11 dogmatic69 !bin
# Oct 22nd 2009, 13:11 dogmatic69 nm
# Oct 22nd 2009, 13:11 dogmatic69 what is line 228
# Oct 22nd 2009, 13:11 dogmatic69 alan|macbook: ty
# Oct 22nd 2009, 13:10 alan|macbook ProgrammesController has var $helpers = array('Html','Form','Tree');
# Oct 22nd 2009, 13:09 alan|macbook mmm... example 2, same notice
# Oct 22nd 2009, 13:09 alan|macbook ok. Very beautilful site :)
# Oct 22nd 2009, 13:09 dogmatic69 and its 2 diff tables
# Oct 22nd 2009, 13:09 dogmatic69 alan|macbook: btw... the tree on the left and the menu at the top is using it... the menu at the top just has no children atm
# Oct 22nd 2009, 13:08 dogmatic69 i think that is what im doing
# Oct 22nd 2009, 13:08 alan|macbook ok
# Oct 22nd 2009, 13:08 dogmatic69 use example 2
# Oct 22nd 2009, 13:08 dogmatic69 alan|macbook: ok that is the one i am using
# Oct 22nd 2009, 13:07 alan|macbook helper here : http://bakery.cakephp.org/articles/download_code/609/block/1
# Oct 22nd 2009, 13:07 alan|macbook dogmatic69 : http://bakery.cakephp.org/articles/view/tree-helper-1
# Oct 22nd 2009, 13:07 alan|macbook used example 1
# Oct 22nd 2009, 13:06 dogmatic69 link for the helper?
# Oct 22nd 2009, 13:06 dogmatic69 yip
# Oct 22nd 2009, 13:06 alan|macbook i get this notice : Notice (8): Undefined index: name [APP/views/helpers/tree.php, line 228]
# Oct 22nd 2009, 13:06 alan|macbook dogmatic : i copied pasted the code from the bakery tree helper
# Oct 22nd 2009, 13:05 alan|macbook dogmatic69 : still here ?
# Oct 22nd 2009, 13:05 gartenstuhl hi
# Oct 22nd 2009, 13:05 zyro still same problen child2 gives parent1
# Oct 22nd 2009, 13:05 zyro nope
# Oct 22nd 2009, 13:04 dogmatic69 zyro: you get it working yet?
# Oct 22nd 2009, 13:03 hendlerman Hello all - any one available to review/approve a bakery article?