# |
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? |
# |
Oct 22nd 2009, 13:03 |
zyro |
dogmatic69: /child2/i still gives parent1 as result so it wasnt the case of the condition.. |
# |
Oct 22nd 2009, 13:01 |
Batuchi |
production prep? or just debug prep? |
# |
Oct 22nd 2009, 13:01 |
Phally |
Batuchi: eh, it is in dutch and its still being prepared |
# |
Oct 22nd 2009, 13:01 |
dogmatic69 |
lots of random crap |
# |
Oct 22nd 2009, 13:00 |
dogmatic69 |
ha so it is |
# |
Oct 22nd 2009, 13:00 |
Batuchi |
Phally, LOL awsome.. glad to hear you got it done :) can you let others view or is it private site? |
# |
Oct 22nd 2009, 13:00 |
dogmatic69 |
i doubt my site is indexed |
# |
Oct 22nd 2009, 12:59 |
ADmad |
and google will still have links pointing to your domain... not very cool |
# |
Oct 22nd 2009, 12:59 |
dogmatic69 |
it will be gone in a week or so anyway |