# |
Jul 18th 2010, 06:07 |
fhxfhx |
Predominant: Hi, tx again for the example selecting value in drop-down one triggers find-list through controller for drop-down two ... made correction for implementation but doesnâ??t update drop-down two yet ... http://bin.cakephp.org/view/1977088890 |
# |
Jul 18th 2010, 06:07 |
mattems |
thanks mate |
# |
Jul 18th 2010, 06:06 |
nigelb |
but setting var $paginte in app_controller carries it everywhere unless you override it on a per-controller basis |
# |
Jul 18th 2010, 06:05 |
mattems |
cheers |
# |
Jul 18th 2010, 06:05 |
mattems |
hehe |
# |
Jul 18th 2010, 06:05 |
nigelb |
I don't know about that |
# |
Jul 18th 2010, 06:05 |
mattems |
what if i want the 5 to be: Configure::read('Admin.default_pagination_limit'); |
# |
Jul 18th 2010, 06:04 |
nigelb |
var $ paginate = array('limit' => 5); |
# |
Jul 18th 2010, 06:04 |
nigelb |
just do it the normal way |
# |
Jul 18th 2010, 06:04 |
nigelb |
no no |
# |
Jul 18th 2010, 06:03 |
mattems |
$this->paginate['Model']['limit'] = 5; |
# |
Jul 18th 2010, 06:03 |
mattems |
but it seems to need a model |
# |
Jul 18th 2010, 06:03 |
mattems |
$this->paginate['limit'] = 5; |
# |
Jul 18th 2010, 06:03 |
mattems |
$this->paginate['limit |
# |
Jul 18th 2010, 06:03 |
mattems |
i did this |
# |
Jul 18th 2010, 06:03 |
mattems |
i tried that |
# |
Jul 18th 2010, 06:03 |
mattems |
hmmm |
# |
Jul 18th 2010, 06:03 |
nigelb |
just declare it in app_controller as you would on a per controller basis |
# |
Jul 18th 2010, 06:03 |
mattems |
hey nigelb ! how? |
# |
Jul 18th 2010, 06:02 |
nigelb |
mattems: yes |
# |
Jul 18th 2010, 05:58 |
mattems |
is there a way i can set the pagination limit in appcontroller so it works across all controllers? |
# |
Jul 18th 2010, 05:55 |
mattems |
all back now? |
# |
Jul 18th 2010, 05:55 |
mattems |
net split lol |
# |
Jul 18th 2010, 05:44 |
bavbat |
neverminid, got my answer * |
# |
Jul 18th 2010, 05:44 |
bavbat |
neverminid, ot my naswer |
# |
Jul 18th 2010, 05:38 |
bavbat |
Q: is there a way to strip tags for all form input across a site with the Sanitize class? |
# |
Jul 18th 2010, 05:26 |
SMarek |
hi all, please, is there way to debug how long method runs? |
# |
Jul 18th 2010, 05:21 |
mattems |
is there a way i can set the pagination limit in appcontroller so it works across all controllers? |
# |
Jul 18th 2010, 05:20 |
mattems |
hey all! |
# |
Jul 18th 2010, 04:10 |
AndrewGr |
But when I do a find on Categories_Cities, it is not finding my Items table, like it would if it was a HasMany relationship. |
# |
Jul 18th 2010, 04:09 |
AndrewGr |
And a fourth table called Items .... where Categories HasMany Items. |
# |
Jul 18th 2010, 04:08 |
AndrewGr |
So I have three tables, one called Categories, one called Cities and the bridging table Categories_Cities |
# |
Jul 18th 2010, 04:08 |
AndrewGr |
However, if the model is HasAndBelongsToMany then this is not the case. |
# |
Jul 18th 2010, 04:07 |
AndrewGr |
If I have two models, the first being hasMany to the second, then if I do a find on the first, I can normally access the seconds fields, because a LEFT join is done? |
# |
Jul 18th 2010, 04:06 |
AndrewGr |
I have a HABTM question! |
# |
Jul 18th 2010, 04:06 |
AndrewGr |
Hello |
# |
Jul 18th 2010, 04:03 |
dmemdfd |
Hi all. Is there a way to display a view when a function starts rather then when it ends? I've got a function which can takes quite a long time and would like to display a "wait..." message |
# |
Jul 18th 2010, 03:37 |
Knowledge |
night guys |
# |
Jul 18th 2010, 03:07 |
galymzhan |
Is there offline documentation (pdf or chm) for cakephp 1.3? |
# |
Jul 18th 2010, 02:59 |
airliasdesign |
Hello all |
# |
Jul 18th 2010, 02:21 |
_jesse_ |
it happens :) |