# |
Aug 8th 2008, 23:53 |
cobol |
hrm |
# |
Aug 8th 2008, 23:53 |
cobol |
Error: schema.php could not be loaded |
# |
Aug 8th 2008, 23:51 |
M4ngoB00M |
hehe lol |
# |
Aug 8th 2008, 23:50 |
M4ngoB00M |
doh * routes! |
# |
Aug 8th 2008, 23:50 |
M4ngoB00M |
roots* |
# |
Aug 8th 2008, 23:50 |
M4ngoB00M |
es are cool |
# |
Aug 8th 2008, 23:50 |
markstory |
) |
# |
Aug 8th 2008, 23:49 |
freebox |
ty |
# |
Aug 8th 2008, 23:49 |
markstory |
freebox: yep :) |
# |
Aug 8th 2008, 23:49 |
freebox |
markstory: i do it in the action index: if (isset($this->params['requested'])) { .. |
# |
Aug 8th 2008, 23:48 |
TonkaTruck |
markstory: thanks! |
# |
Aug 8th 2008, 23:48 |
markstory |
to edit cake/tests/libs/model/behavior/tree.test.php |
# |
Aug 8th 2008, 23:48 |
markstory |
run -> core tests. / models/behaviors/tree |
# |
Aug 8th 2008, 23:47 |
markstory |
TonkaTruck: to run it or edit it? |
# |
Aug 8th 2008, 23:47 |
markstory |
didn't think I was going crazy. |
# |
Aug 8th 2008, 23:47 |
freebox |
markstory: yes |
# |
Aug 8th 2008, 23:46 |
TonkaTruck |
Does anyone know where I might find cakephp test cases? Specifically for the Tree behavior? |
# |
Aug 8th 2008, 23:44 |
markstory |
so the return worked? |
# |
Aug 8th 2008, 23:44 |
freebox |
hehehee |
# |
Aug 8th 2008, 23:44 |
freebox |
i've deleted the cache and worked fine |
# |
Aug 8th 2008, 23:44 |
markstory |
at least the caching works :) |
# |
Aug 8th 2008, 23:44 |
markstory |
doh. |
# |
Aug 8th 2008, 23:43 |
freebox |
markstory: the cache element is cheating me |
# |
Aug 8th 2008, 23:43 |
freebox |
LOL |
# |
Aug 8th 2008, 23:43 |
markstory |
so you do need to return the vars, unless when you make the requestAction you specify 'return' => 1 then you get back a rendered view with no layout. |
# |
Aug 8th 2008, 23:42 |
markstory |
look at the first example. the recent comments section. |
# |
Aug 8th 2008, 23:41 |
markstory |
freebox: http://book.cakephp.org/view/434/requestaction |
# |
Aug 8th 2008, 23:41 |
markstory |
M4ngoB00M: not really, more like regex comfortable :) |
# |
Aug 8th 2008, 23:41 |
M4ngoB00M |
k thx |
# |
Aug 8th 2008, 23:40 |
M4ngoB00M |
heh - regex guru |
# |
Aug 8th 2008, 23:40 |
markstory |
M4ngoB00M: there is a single page view. you can save that. or print to pdf. |
# |
Aug 8th 2008, 23:40 |
M4ngoB00M |
i have to go on vacation for a week! can I download the whole documentation or is it online only? |
# |
Aug 8th 2008, 23:40 |
markstory |
/^[0-9]{1,10}\s[a-z\-.]+$/i ? just off the top of my head. |
# |
Aug 8th 2008, 23:38 |
M4ngoB00M |
tx |
# |
Aug 8th 2008, 23:38 |
M4ngoB00M |
yeah - i have a mental block on regex. |
# |
Aug 8th 2008, 23:38 |
markstory |
M4ngoB00M: that would work. outside of a complicated regex |
# |
Aug 8th 2008, 23:38 |
M4ngoB00M |
withou defining a regex or custome validator? |
# |
Aug 8th 2008, 23:37 |
markstory |
Veracious: $model->find('list'); |
# |
Aug 8th 2008, 23:37 |
M4ngoB00M |
markstory: check this out: http://bin.cakephp.org/saved/35922 is this the best way to validate a field like an "address 1st line" |
# |
Aug 8th 2008, 23:37 |
paramS |
I am now thinking , that a helper might come handy in creating menu system. Define all the Menu and Sub-Menus in my helper and then from each controller function just pass which Menu and Sub-Menu is "active" ( for theming ) |
# |
Aug 8th 2008, 23:37 |
Veracious |
is there an in-built way at the moment to get enums from a mysql table field in cakephp? I found one solution but it dates back to late 2006 |