# |
Jul 18th 2010, 08:51 |
Theaxiom |
fhxfhx, no, just make a request to a controller/action that outputs JSON |
# |
Jul 18th 2010, 08:50 |
fhxfhx |
Theaxiom: do I have to load JSON adittionally ? |
# |
Jul 18th 2010, 08:50 |
Theaxiom |
fhxfhx, JSON |
# |
Jul 18th 2010, 08:36 |
fhxfhx |
have a code that on selecting a value in drop-down one triggers find-list through controller for drop-down two ... but doesnâ??t update drop-down two yet ... http://bin.cakephp.org/view/1977088890 .. any suggestions ? |
# |
Jul 18th 2010, 07:31 |
ADmad |
why not :) |
# |
Jul 18th 2010, 07:31 |
Theaxiom |
hey ADmad would you like a beta invite to Kinspir? |
# |
Jul 18th 2010, 07:31 |
Theaxiom |
lol |
# |
Jul 18th 2010, 07:31 |
SMarek |
OK, i give it a try :) |
# |
Jul 18th 2010, 07:30 |
ADmad |
thats what they are for |
# |
Jul 18th 2010, 07:30 |
ADmad |
yes |
# |
Jul 18th 2010, 07:30 |
SMarek |
own helper class? |
# |
Jul 18th 2010, 07:30 |
ADmad |
so make a helper |
# |
Jul 18th 2010, 07:30 |
SMarek |
ADmad: what should i use? |
# |
Jul 18th 2010, 07:30 |
SMarek |
ADmad: its bad idea? i need cross-view tree menu from data which are different in every method |
# |
Jul 18th 2010, 07:29 |
ADmad |
SMarek: why do you have a function inside the element in the first place? |
# |
Jul 18th 2010, 07:29 |
SMarek |
and i cant use global $this |
# |
Jul 18th 2010, 07:29 |
SMarek |
its bad, but now the problems gone |
# |
Jul 18th 2010, 07:28 |
SMarek |
so i can make url outside of function and in function add global $addr; |
# |
Jul 18th 2010, 07:28 |
SMarek |
its function in element |
# |
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 |