# |
Jul 18th 2010, 07:28 |
SMarek |
but i found something |
# |
Jul 18th 2010, 07:28 |
SMarek |
1.3 |
# |
Jul 18th 2010, 07:27 |
Theaxiom |
SMarek, that is bizarre, which cake version are you using? |
# |
Jul 18th 2010, 07:25 |
SMarek |
Fatal error: Using $this when not in object context in /data/www/clients/client30/web51/web/eshop/app/views/elements/treeview.ctp on line 28 |
# |
Jul 18th 2010, 07:24 |
Theaxiom |
SMarek, try $this->Html |
# |
Jul 18th 2010, 07:24 |
SMarek |
Theaxiom: but if i use $html->url(somedata);, it tells me unknown $html |
# |
Jul 18th 2010, 07:24 |
Theaxiom |
SMarek, use it just like you would outside of an element |
# |
Jul 18th 2010, 07:23 |
SMarek |
Henskeleinen: i know, it was question for those who knows answer :) dont worry |
# |
Jul 18th 2010, 07:22 |
Henskeleinen |
beginning.. |
# |
Jul 18th 2010, 07:22 |
Henskeleinen |
i'm not in elements yet... only components and helpers ;) |
# |
Jul 18th 2010, 07:20 |
SMarek |
and now me, How can i use $html->url in element? thanks |
# |
Jul 18th 2010, 07:20 |
Henskeleinen |
ok good :) |
# |
Jul 18th 2010, 07:20 |
SMarek |
Henskeleinen: yep |
# |
Jul 18th 2010, 07:20 |
Theaxiom |
Henskeleinen, correct |
# |
Jul 18th 2010, 07:20 |
Henskeleinen |
okay... which one? i guess app/vendors is better for a single cakephp app ? |
# |
Jul 18th 2010, 07:19 |
SMarek |
Henskeleinen: yep |
# |
Jul 18th 2010, 07:16 |
Henskeleinen |
should i use vendors or app/vendors to install and use phpmailer etc...? |
# |
Jul 18th 2010, 07:15 |
Theaxiom |
more info here: http://blog.kinspir.com/2010/07/18/eliminating-projects-level/ |
# |
Jul 18th 2010, 07:14 |
Theaxiom |
We took projects out of Kinspir. :) |
# |
Jul 18th 2010, 07:14 |
Theaxiom |
http://blog.kinspir.com/2010/07/18/kinspir-no-longer-has-projects/ |
# |
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? |