# |
Aug 6th 2008, 19:16 |
thestaff |
line 37 :echo $javascript->link('scriptaculous.js?load=effects'); |
# |
Aug 6th 2008, 19:16 |
TommyO |
preciseish should be a word :) |
# |
Aug 6th 2008, 19:16 |
thestaff |
why do I get this error : Fatal error: Call to a member function link() on a non-object in C:\Program Files\EasyPHP 2.0b1\www\app\views\layouts\default.thtml on line 37 |
# |
Aug 6th 2008, 19:15 |
TommyO |
client-side vs server-side |
# |
Aug 6th 2008, 19:15 |
polerin |
hehe |
# |
Aug 6th 2008, 19:15 |
TommyO |
thestaff: modalbox is javascript so will of course work with 1.1/ it is 100% irrelevant |
# |
Aug 6th 2008, 19:15 |
TommyO |
$this->Projects->AeVersions->find('list'); to be precise-ish :) |
# |
Aug 6th 2008, 19:15 |
thestaff |
or i really need to upgrade ? |
# |
Aug 6th 2008, 19:15 |
thestaff |
do you guys know if modalbox works fine with 1.1 ? |
# |
Aug 6th 2008, 19:14 |
snizwickit |
gotcha |
# |
Aug 6th 2008, 19:14 |
snizwickit |
aaah |
# |
Aug 6th 2008, 19:14 |
polerin |
that's what associations are for :) |
# |
Aug 6th 2008, 19:14 |
polerin |
snizwickit: sure it can $this->Projects->find() with a recursive, or $this->Projects->AeVersions->find() |
# |
Aug 6th 2008, 19:13 |
cozby |
is that just some nifty feature? |
# |
Aug 6th 2008, 19:13 |
cozby |
with data from the array I sent from the controller |
# |
Aug 6th 2008, 19:13 |
cozby |
strange thing has occurred, so I set back a an array from my controller to my view... I have form->input statement not specifying the type but it automatically turned into a select (drop down box) |
# |
Aug 6th 2008, 19:12 |
snizwickit |
i don't think i can do it with associations |
# |
Aug 6th 2008, 19:12 |
snizwickit |
and i need to get a list of AeVersions for an action in my projects controller |
# |
Aug 6th 2008, 19:12 |
snizwickit |
well my model "Projects" has a foreign key to my other model "AeVersions" |
# |
Aug 6th 2008, 19:11 |
polerin |
I was taking a break and playing some cs:s |
# |
Aug 6th 2008, 19:11 |
polerin |
hehe |
# |
Aug 6th 2008, 19:10 |
TommyO |
that was for my lazy benefit, not a rtfm :) |
# |
Aug 6th 2008, 19:09 |
TommyO |
no... idea :) |
# |
Aug 6th 2008, 19:09 |
polerin |
no? |
# |
Aug 6th 2008, 19:09 |
polerin |
TommyO: haven't tested it yet, but i'm thinking it has to do with $runtime |
# |
Aug 6th 2008, 19:08 |
TommyO |
polerin: figure out your containable puzzle? |
# |
Aug 6th 2008, 19:06 |
TommyO |
more often than not a need for $uses is a process that needs rethinking, imho |
# |
Aug 6th 2008, 19:04 |
TommyO |
$uses is an override that should be avoided |
# |
Aug 6th 2008, 19:04 |
polerin |
TommyO: heh |
# |
Aug 6th 2008, 19:04 |
TommyO |
really? why? can't reach through associations? |
# |
Aug 6th 2008, 19:04 |
snizwickit |
TommyO: yeah, and I need the $uses for another query in the action |
# |
Aug 6th 2008, 19:04 |
TommyO |
snizwickit: did your $uses array include the default Model? |
# |
Aug 6th 2008, 19:03 |
TommyO |
snizwickit: you really shouldn't need $uses anyway |
# |
Aug 6th 2008, 19:01 |
snizwickit |
changed back to checkboxes |
# |
Aug 6th 2008, 19:00 |
snizwickit |
er |
# |
Aug 6th 2008, 19:00 |
snizwickit |
actually, it changed back to textboxes after I removed the $uses variable from the controller |
# |
Aug 6th 2008, 18:59 |
renan_saddam |
sorry, let me double check |
# |
Aug 6th 2008, 18:59 |
renan_saddam |
from the table |
# |
Aug 6th 2008, 18:58 |
renan_saddam |
and formhelper does not check column type |
# |
Aug 6th 2008, 18:58 |
renan_saddam |
snizwickit: because default input type is text |
# |
Aug 6th 2008, 18:57 |
snizwickit |
what would be causing this behavior? |