# |
Sep 22nd 2011, 10:57 |
DidItAgain |
guys, when I set my data, and try to update, it saves instead... what am i doing wrong? |
# |
Sep 22nd 2011, 10:56 |
rchavik |
no |
# |
Sep 22nd 2011, 10:56 |
fenix` |
do i have to first do var $paginate =array();? |
# |
Sep 22nd 2011, 10:55 |
rchavik |
$this->paginate['conditions'] = array('userid' => .....); |
# |
Sep 22nd 2011, 10:54 |
rchavik |
you need to do that in the method itself.. can't do in declaration |
# |
Sep 22nd 2011, 10:54 |
fenix` |
thier* |
# |
Sep 22nd 2011, 10:54 |
fenix` |
trying to ensure users only see theyre own character records |
# |
Sep 22nd 2011, 10:53 |
fenix` |
http://bin.cakephp.org/view/868501440 |
# |
Sep 22nd 2011, 10:52 |
maennchen |
Section58: if i debug the mail and don't send it, there is also no attachement |
# |
Sep 22nd 2011, 10:52 |
rchavik |
~tell fenix` about bin |
# |
Sep 22nd 2011, 10:52 |
fenix` |
kk |
# |
Sep 22nd 2011, 10:52 |
dakota |
fenix`: yeah. bin your code |
# |
Sep 22nd 2011, 10:52 |
fenix` |
cakebin? |
# |
Sep 22nd 2011, 10:52 |
dakota |
~tell fenix`about bin |
# |
Sep 22nd 2011, 10:51 |
fenix` |
im trying to set $paginate to a conditions array containing a ref to $this->Auth->user in cakephp2, and getting unexpected T_VARIABLE |
# |
Sep 22nd 2011, 10:50 |
diverdude |
dakota, ah ok... |
# |
Sep 22nd 2011, 10:50 |
dakota |
diverdude: yup |
# |
Sep 22nd 2011, 10:50 |
diverdude |
dakota, latest HEAD is the link i posted? |
# |
Sep 22nd 2011, 10:49 |
dakota |
at this stage, using the latest HEAD would probably be the most stable |
# |
Sep 22nd 2011, 10:49 |
rchavik |
rc is release candicate.. |
# |
Sep 22nd 2011, 10:49 |
dakota |
diverdude: ? |
# |
Sep 22nd 2011, 10:49 |
diverdude |
dakota, should be better than 2.0? |
# |
Sep 22nd 2011, 10:49 |
dakota |
diverdude: https://github.com/cakephp/cakephp/tree/2.0.0-RC2 is rc2 |
# |
Sep 22nd 2011, 10:49 |
dakota |
diverdude: no. That's the latest repository |
# |
Sep 22nd 2011, 10:48 |
dakota |
ujjain: http://en.wikipedia.org/wiki/Post/Redirect/Get |
# |
Sep 22nd 2011, 10:48 |
diverdude |
is this RC2 ? https://github.com/cakephp/cakephp/tree/2.0 |
# |
Sep 22nd 2011, 10:48 |
rchavik |
ujjain, prg + pagination works, trying doing pagination with filter plugin |
# |
Sep 22nd 2011, 10:48 |
ujjain |
Post, Redirect, Get? |
# |
Sep 22nd 2011, 10:48 |
ujjain |
dakota: What is prg? |
# |
Sep 22nd 2011, 10:48 |
ujjain |
Section58: hmm, weird, I tried minimizing the window in Ubuntu via shortcut, appereantly I closed irc terminal and retyped what I typed :p |
# |
Sep 22nd 2011, 10:48 |
fenix` |
is this the right channel for troubleshooting help? |
# |
Sep 22nd 2011, 10:47 |
Section58 |
thanks i didn't quite get that the first time |
# |
Sep 22nd 2011, 10:47 |
dakota |
ujjain: it's prg features alone makes it worth while imo |
# |
Sep 22nd 2011, 10:47 |
ujjain |
Section58: I will check the docs and files again. |
# |
Sep 22nd 2011, 10:47 |
ujjain |
Section58: I will check the docs and files again. |
# |
Sep 22nd 2011, 10:46 |
dakota |
ujjain: it requires some. Still far easier than doing it manually |
# |
Sep 22nd 2011, 10:46 |
Section58 |
so i guess somewhere, like a setting that tells the plguin what models you want to use with it ??? etc |
# |
Sep 22nd 2011, 10:46 |
Section58 |
the fact that its not breaking, but returning false seems like its ignoring the value |
# |
Sep 22nd 2011, 10:46 |
ujjain |
Section58: I will check the docs and files again. |
# |
Sep 22nd 2011, 10:46 |
ujjain |
dakota: You say the cakedc search is awesome, but it seems to require pretty much configuration. |
# |
Sep 22nd 2011, 10:45 |
Section58 |
ujjain: poke people that use the plugin, cause it will be something simple missing from somewhere |