# |
Oct 22nd 2009, 12:14 |
alan|macbook |
i thought cakePHP could do that for me... |
# |
Oct 22nd 2009, 12:14 |
alan|macbook |
then, am i supposed to generate the checkboxes with a loop ? |
# |
Oct 22nd 2009, 12:13 |
alan|macbook |
i set the datas from $this->Programme->find('threaded'); |
# |
Oct 22nd 2009, 12:12 |
alan|macbook |
no matter what i try, it doesn't work |
# |
Oct 22nd 2009, 12:12 |
alan|macbook |
i can't fin a way to generate a tree of checkboxes |
# |
Oct 22nd 2009, 12:12 |
teknoid |
alan|macbook: ok, so what exactly is the problem? |
# |
Oct 22nd 2009, 12:11 |
alan|macbook |
well... yes i AM |
# |
Oct 22nd 2009, 12:11 |
alan|macbook |
teknoid : yes i do |
# |
Oct 22nd 2009, 12:11 |
teknoid |
alan|macbook: and are you using the tree behavior? |
# |
Oct 22nd 2009, 12:10 |
alan|macbook |
teknoid : yes i do |
# |
Oct 22nd 2009, 12:10 |
teknoid |
alan|macbook: do you the tree structure in your DB? |
# |
Oct 22nd 2009, 12:08 |
alan|macbook |
i guess the recursive checking will be achieved by JS, but how do i generate the checkboxes ??? |
# |
Oct 22nd 2009, 12:06 |
alan|macbook |
i want to do something like this : http://crepitus.com/misc/ext/tree.html |
# |
Oct 22nd 2009, 12:06 |
alan|macbook |
but no matter what i try, it never works |
# |
Oct 22nd 2009, 12:05 |
alan|macbook |
i'd like to generate a tree of checkboxes |
# |
Oct 22nd 2009, 12:05 |
alan|macbook |
rhaaaaaaaa... Help ! It's driving me crazy... |
# |
Oct 22nd 2009, 11:55 |
PhpNut |
nice way to promote it though :) |
# |
Oct 22nd 2009, 11:53 |
PhpNut |
figured that would happen |
# |
Oct 22nd 2009, 11:53 |
PhpNut |
oh forked... |
# |
Oct 22nd 2009, 11:52 |
teknoid |
from code.cakephp.org |
# |
Oct 22nd 2009, 11:52 |
teknoid |
"Cake3 has been spun off into the Lithium project. Check out our launch tomorrow (Oct. 22nd) at http://li3.rad-dev.org/ " |
# |
Oct 22nd 2009, 11:52 |
PhpNut |
teknoid lithium? |
# |
Oct 22nd 2009, 11:51 |
joeb |
Hmm. I am interested. |
# |
Oct 22nd 2009, 11:50 |
joeb |
teknoid: Will do. |
# |
Oct 22nd 2009, 11:50 |
teknoid |
joeb: check out code.cakephp.org |
# |
Oct 22nd 2009, 11:48 |
joeb |
teknoid: Never heard of it. |
# |
Oct 22nd 2009, 11:44 |
teknoid |
what's up with lithium? is it separating from cake? |
# |
Oct 22nd 2009, 11:33 |
Horror |
thanks for the link cpierece. |
# |
Oct 22nd 2009, 11:32 |
cpierce |
http://api.cakephp.org/class/paginator-helper#method-PaginatorHelpernumbers |
# |
Oct 22nd 2009, 11:31 |
cpierce |
Horror: try debugging? |
# |
Oct 22nd 2009, 11:31 |
Horror |
cpierce: doesn't seem to take what i'm passing in |
# |
Oct 22nd 2009, 11:29 |
cpierce |
or just number(array('before' => $blah)); |
# |
Oct 22nd 2009, 11:29 |
cpierce |
meaning you can do numbers($options = array('before' => $blah)); |
# |
Oct 22nd 2009, 11:28 |
cpierce |
horror: actually it will take the before, after clauses |
# |
Oct 22nd 2009, 11:27 |
Horror |
cpierce: but does that work on numbers()? |
# |
Oct 22nd 2009, 11:27 |
Akufen |
nm |
# |
Oct 22nd 2009, 11:26 |
Horror |
perfect. let me try it |
# |
Oct 22nd 2009, 11:26 |
Akufen |
anyone know where to get my hands on older cake versions? |
# |
Oct 22nd 2009, 11:26 |
cpierce |
on counter |
# |
Oct 22nd 2009, 11:26 |
Akufen |
phishy_ looks like someone posted the same question in march of 2008, starting to wonder if it's an environment problem instead of being related to the cake version |
# |
Oct 22nd 2009, 11:26 |
cpierce |
Horror: you can use format |