# |
Sep 22nd 2011, 11:08 |
DidItAgain |
1.3 |
# |
Sep 22nd 2011, 11:08 |
fenix` |
DidItAgain: what version of phpcake are you using? |
# |
Sep 22nd 2011, 11:08 |
dakota |
DidItAgain: you should read it |
# |
Sep 22nd 2011, 11:08 |
dakota |
DidItAgain: it's all in the book |
# |
Sep 22nd 2011, 11:08 |
DidItAgain |
oh.. |
# |
Sep 22nd 2011, 11:08 |
fenix` |
DidItAgain: you should never need $_POST |
# |
Sep 22nd 2011, 11:08 |
dakota |
Well, two choices. Either name your fields properly and access via $this->data, or via $this->params['form'] |
# |
Sep 22nd 2011, 11:08 |
DidItAgain |
that are posted in an AJAX call? |
# |
Sep 22nd 2011, 11:07 |
DidItAgain |
how else do I access post variables? |
# |
Sep 22nd 2011, 11:07 |
dakota |
why are you using $_POST? |
# |
Sep 22nd 2011, 11:07 |
fenix` |
i've solved it, you can't modify $paginate, only assign it a whole new value; |
# |
Sep 22nd 2011, 11:07 |
DidItAgain |
post variables? |
# |
Sep 22nd 2011, 11:07 |
DidItAgain |
? |
# |
Sep 22nd 2011, 11:07 |
dakota |
wtf |
# |
Sep 22nd 2011, 11:07 |
dakota |
DidItAgain: $_POST? |
# |
Sep 22nd 2011, 11:06 |
ujjain |
debug($this->data)? |
# |
Sep 22nd 2011, 11:06 |
DidItAgain |
anyone has an idea why?! |
# |
Sep 22nd 2011, 11:05 |
DidItAgain |
even though id is set |
# |
Sep 22nd 2011, 11:05 |
DidItAgain |
it keeps inserting |
# |
Sep 22nd 2011, 11:05 |
DidItAgain |
that function doesnt update |
# |
Sep 22nd 2011, 11:05 |
DidItAgain |
http://bin.cakephp.org/view/254499356 |
# |
Sep 22nd 2011, 11:04 |
ujjain |
rchavik: right, what if you want to search nodes, news articles, phone numbers, etc. |
# |
Sep 22nd 2011, 11:04 |
diverdude |
rchavik, so i do $ git clone https://github.com/cakephp/cakephp.git;cd cakephp; git branch -a;git tag -l;git checkout 2.0 ? |
# |
Sep 22nd 2011, 11:04 |
dakota |
fenix`: http://www.sabi.co.uk/Notes/linuxHelpAsk.html#bitch |
# |
Sep 22nd 2011, 11:04 |
fenix` |
http://bin.cakephp.org/view/1206680343 |
# |
Sep 22nd 2011, 11:03 |
dakota |
no, not that |
# |
Sep 22nd 2011, 11:03 |
dakota |
fenix`: also read this: wijcalendar |
# |
Sep 22nd 2011, 11:03 |
dakota |
fenix`: dude. don't just throw out random errors to random people. Show us some code please. |
# |
Sep 22nd 2011, 11:02 |
fenix` |
dakota: Indirect modification of overloaded property CharactersController::$paginate has no effect, whats that about? |
# |
Sep 22nd 2011, 11:02 |
rchavik |
git checkout 2.0 |
# |
Sep 22nd 2011, 11:02 |
rchavik |
git tag -l |
# |
Sep 22nd 2011, 11:02 |
rchavik |
git branch -a |
# |
Sep 22nd 2011, 11:02 |
rchavik |
diverdude, when using git, you clone a repo, then you get all! |
# |
Sep 22nd 2011, 11:01 |
rchavik |
ujjain, you can do subquery, eg: User whose country in model Address is in The Netherlands |
# |
Sep 22nd 2011, 11:01 |
diverdude |
som=so |
# |
Sep 22nd 2011, 11:01 |
diverdude |
ok..maybe stupid question. But when i git clone from here: https://github.com/cakephp/cakephp/tree/2.0.0-RC2 which is this git address: https://github.com/cakephp/cakephp.git (it says som on the page) i get the 1.3.12 version even though i wanted 2.0 ? |
# |
Sep 22nd 2011, 11:00 |
Section58 |
o shit |
# |
Sep 22nd 2011, 11:00 |
Section58 |
yo dave |
# |
Sep 22nd 2011, 11:00 |
ujjain |
dakota: Is CakeDC search designed for processing 1 model simultaneously? |
# |
Sep 22nd 2011, 10:59 |
fenix` |
~tell DidItAgain about bin |
# |
Sep 22nd 2011, 10:59 |
rchavik |
) |