# |
Sep 13th 2009, 09:34 |
Miroslav_Vojtu |
normaly $this->Option->find..... ? |
# |
Sep 13th 2009, 09:33 |
Miroslav_Vojtu |
and how to acces hero to Option model?: |
# |
Sep 13th 2009, 09:33 |
nini |
Miroslav_Vojtu: Configure::write(); sets also arrays |
# |
Sep 13th 2009, 09:32 |
Miroslav_Vojtu |
I need to set it from DB.... i have options table and i need to preset (in appController beforeFilter() or somewhere on application start) them to def constants |
# |
Sep 13th 2009, 09:30 |
markstory |
or constants |
# |
Sep 13th 2009, 09:30 |
nini |
Miroslav_Vojtu: then read it with Configure::read('defColor'); |
# |
Sep 13th 2009, 09:29 |
nini |
Miroslav_Vojtu: use Configure::write('defColor', 'blue'); in your bootstrap.php |
# |
Sep 13th 2009, 09:28 |
Miroslav_Vojtu |
please how to set global wariables like $this->deafaultColor = blue.... accesable in every model and controller |
# |
Sep 13th 2009, 09:26 |
GustavoRamos |
yep, markstory: i've noted it too |
# |
Sep 13th 2009, 09:25 |
markstory |
it still says 1.2.4 |
# |
Sep 13th 2009, 09:25 |
markstory |
the console version number is wrong on 1.2.5 |
# |
Sep 13th 2009, 09:22 |
winegoddess |
okay - so i will updgrade! :) |
# |
Sep 13th 2009, 09:22 |
winegoddess |
nini: i see this: Welcome to CakePHP v1.2.4.8284 Console |
# |
Sep 13th 2009, 09:21 |
nini |
winegoddess: cake/VERSION |
# |
Sep 13th 2009, 09:20 |
GustavoRamos |
mmm |
# |
Sep 13th 2009, 09:20 |
winegoddess |
GustavoRamos: sorry to be clueless, but how can I quickly tell? the comments talk of modified dates, but not a version |
# |
Sep 13th 2009, 09:19 |
winegoddess |
GustavoRamos: its not far into the code |
# |
Sep 13th 2009, 09:19 |
winegoddess |
GustavoRamos: it seems to look okay |
# |
Sep 13th 2009, 09:18 |
nini |
ignore it then |
# |
Sep 13th 2009, 09:18 |
GustavoRamos |
you have 1.2.5 ? |
# |
Sep 13th 2009, 09:18 |
GustavoRamos |
strange |
# |
Sep 13th 2009, 09:18 |
winegoddess |
i have tried looking back and dont see anything wrong |
# |
Sep 13th 2009, 09:17 |
winegoddess |
its not my code, its cake code i downloaded |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
yup |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
•Antoniete• check query |
# |
Sep 13th 2009, 09:17 |
Antoniete |
brasileiro? |
# |
Sep 13th 2009, 09:17 |
Antoniete |
ops |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
it happens alot here |
# |
Sep 13th 2009, 09:17 |
Antoniete |
GustavoRamos: |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
•winegoddess• maybe your missin ; is somewhere up in the code |
# |
Sep 13th 2009, 09:16 |
winegoddess |
nini: i cant find a missing semicolon, and I know sometimes errors arent quite accurate - just wished i could make the red x go away |
# |
Sep 13th 2009, 09:16 |
GustavoRamos |
i know, but it desappeared lol |
# |
Sep 13th 2009, 09:16 |
nini |
GustavoRamos: it didn't quit |
# |
Sep 13th 2009, 09:15 |
GustavoRamos |
•Antoniete• ainda está aí? (sorry for portuguese, just asking if its still here) |
# |
Sep 13th 2009, 09:14 |
nini |
winegoddess: if it is just something like <?php echo $someVar ?> then it's ok |
# |
Sep 13th 2009, 09:14 |
nini |
Antoniete: there is a cakephp bundle for netbeans out there, if you're interested |
# |
Sep 13th 2009, 09:13 |
nini |
Antoniete: cakephp is just normal php project, so it afaik don't |
# |
Sep 13th 2009, 09:13 |
GustavoRamos |
query u there |
# |
Sep 13th 2009, 09:12 |
Antoniete |
yep |
# |
Sep 13th 2009, 09:12 |
GustavoRamos |
hey Antoniete: BR for brazil? |
# |
Sep 13th 2009, 09:12 |
Antoniete |
sory my inglish, im br |