# |
Aug 7th 2008, 19:56 |
thestaff |
well, it's in the index |
# |
Aug 7th 2008, 19:56 |
markstory |
do them all in the controller and pass it to the view. |
# |
Aug 7th 2008, 19:56 |
markstory |
thestaff: why are you doing acl checks in the view? |
# |
Aug 7th 2008, 19:44 |
thestaff |
i'll figure it out |
# |
Aug 7th 2008, 19:08 |
lqdice__ |
ohh found it |
# |
Aug 7th 2008, 19:06 |
lqdice__ |
i thought cakephp had some wrappers for inline editor.. cant seem to find it though |
# |
Aug 7th 2008, 19:03 |
Telik |
gwoo: i'll try. i'm slowly getting the hang of this :) |
# |
Aug 7th 2008, 19:02 |
gwoo |
Telik: im sure you can figure that out |
# |
Aug 7th 2008, 19:02 |
Telik |
cause this "total" value never existed before my calculation action |
# |
Aug 7th 2008, 19:02 |
Telik |
oh...but when i do that I always get an "Undefined index" error |
# |
Aug 7th 2008, 19:01 |
gwoo |
then it gets push to the view through the controller |
# |
Aug 7th 2008, 19:01 |
gwoo |
Telik: put it back in the results |
# |
Aug 7th 2008, 18:42 |
gwoo |
Telik: that depends on what you are needing them for |
# |
Aug 7th 2008, 18:42 |
markstory |
like the drupal 6 menu system |
# |
Aug 7th 2008, 18:42 |
markstory |
perhaps you would need like a sweet ajaxy html widget. |
# |
Aug 7th 2008, 18:42 |
lqdice__ |
i know sir thats why I asked if there was anything fancier that is commonly used |
# |
Aug 7th 2008, 18:42 |
markstory |
select boxes don't really do that though. |
# |
Aug 7th 2008, 18:42 |
lqdice__ |
this will do for now i guess |
# |
Aug 7th 2008, 18:41 |
lqdice__ |
nono i didnt mean a real tree.. just so you can expand and such instead of seeing the whole thing in a select box |
# |
Aug 7th 2008, 18:41 |
Telik |
hey guys! i need to perform some calculations on some dollar figures...should i do this in my controller and pass the values to the view or perform them directly in the view? |
# |
Aug 7th 2008, 18:41 |
lqdice__ |
touche |
# |
Aug 7th 2008, 18:41 |
markstory |
how will it grow? |
# |
Aug 7th 2008, 18:40 |
lqdice__ |
leaves yes, shit no |
# |
Aug 7th 2008, 18:40 |
markstory |
with leaves and shit? |
# |
Aug 7th 2008, 18:40 |
lqdice__ |
just something fancier |
# |
Aug 7th 2008, 18:40 |
lqdice__ |
like a tree |
# |
Aug 7th 2008, 18:40 |
markstory |
what should it look like? |
# |
Aug 7th 2008, 18:40 |
lqdice__ |
and the underscore is bad too |
# |
Aug 7th 2008, 18:40 |
lqdice__ |
i have it in a select box right now with spaces for the spacer.. but it doesnt look so great |
# |
Aug 7th 2008, 18:39 |
lqdice__ |
it gives me an array but i dont see how to make it give me a form |
# |
Aug 7th 2008, 18:39 |
markstory |
yeah. |
# |
Aug 7th 2008, 18:39 |
lqdice__ |
markstory: the generatetreelist? |
# |
Aug 7th 2008, 18:39 |
markstory |
lqdice__: there is a method in treebehavior that does just that. |
# |
Aug 7th 2008, 18:34 |
gwoo |
yup |
# |
Aug 7th 2008, 18:34 |
achew22 |
gwoo: did you get that? |
# |
Aug 7th 2008, 18:34 |
lqdice__ |
but want it to be fairly nice ;) |
# |
Aug 7th 2008, 18:34 |
lqdice__ |
hmm anyone know of any select boxes that show a tree structure? Need to make it so you can choose an item from a Tree Behavior frmo a select box |
# |
Aug 7th 2008, 18:34 |
gwoo |
hi lqdice__ |
# |
Aug 7th 2008, 18:33 |
lqdice__ |
ACTION waves to gwoo |
# |
Aug 7th 2008, 18:32 |
gwoo |
achew22: sure |
# |
Aug 7th 2008, 18:32 |
achew22 |
gwoo: are you around? would you like to see my webservice class? |