# |
Aug 7th 2008, 20:43 |
SamuraiDio |
well, anyway, i cant 'order' with it |
# |
Aug 7th 2008, 20:42 |
SamuraiDio |
will findAllBy...() also be deprecated in 1.2? |
# |
Aug 7th 2008, 20:41 |
lqdice__ |
is it possible to see why the security component is not happy w/ my form ? |
# |
Aug 7th 2008, 20:40 |
zeeneo |
quick too |
# |
Aug 7th 2008, 20:40 |
zeeneo |
heh |
# |
Aug 7th 2008, 20:40 |
zeeneo |
oh i like cakebot code :) |
# |
Aug 7th 2008, 20:30 |
polywog |
does anyone know how I might be able to do this: Set::extract($incidents, '{n}.Action.{n}.actions_phone') |
# |
Aug 7th 2008, 20:27 |
polywog |
or belongs to post |
# |
Aug 7th 2008, 20:26 |
polywog |
(in the ratings table) |
# |
Aug 7th 2008, 20:26 |
polywog |
hey what about posts has many ratings, users hasmany ratings, rating has one post. unique the user_id and post_id |
# |
Aug 7th 2008, 20:26 |
polywog |
freebox: |
# |
Aug 7th 2008, 20:25 |
dsnap |
thanks |
# |
Aug 7th 2008, 20:25 |
thestaff |
even tough I do it in the controler as well |
# |
Aug 7th 2008, 20:25 |
thestaff |
but that means I have to parse the array again in the view |
# |
Aug 7th 2008, 20:24 |
polywog |
dsnap: Configure::write('debug',0); |
# |
Aug 7th 2008, 20:24 |
dsnap |
how can I disable that <!-- 4.444s --> at the bottom generated in debug? |
# |
Aug 7th 2008, 20:24 |
Matt1 |
thestaff: yes |
# |
Aug 7th 2008, 20:23 |
thestaff |
I guess I should make the links in the view |
# |
Aug 7th 2008, 20:22 |
thestaff |
but I need some link in there |
# |
Aug 7th 2008, 20:22 |
Matt1 |
freebox: sorry, my bad :( |
# |
Aug 7th 2008, 20:22 |
thestaff |
well I wanted to build an array for a table |
# |
Aug 7th 2008, 20:22 |
freebox |
Matt1: in a controller :) |
# |
Aug 7th 2008, 20:22 |
Matt1 |
thestaff: why would you need to access a helper in a view ? |
# |
Aug 7th 2008, 20:22 |
freebox |
lol |
# |
Aug 7th 2008, 20:21 |
polywog |
ACTION thinks |
# |
Aug 7th 2008, 20:21 |
polywog |
it would have to be like a post rating or something |
# |
Aug 7th 2008, 20:21 |
freebox |
thestaff: helper is for viewer |
# |
Aug 7th 2008, 20:21 |
polywog |
heh |
# |
Aug 7th 2008, 20:21 |
polywog |
ACTION hits himself over the head |
# |
Aug 7th 2008, 20:20 |
polywog |
grrrrrrrrrrrrrrrrrr |
# |
Aug 7th 2008, 20:20 |
thestaff |
how can I get acces to the html help in the controler ? |
# |
Aug 7th 2008, 20:20 |
polywog |
make the primary key in your habtm rating both cols |
# |
Aug 7th 2008, 20:20 |
freebox |
uhm |
# |
Aug 7th 2008, 20:19 |
polywog |
off the top of my head |
# |
Aug 7th 2008, 20:19 |
polywog |
users habtm ratings, ratings belong to posts, posts has many ratings |
# |
Aug 7th 2008, 20:19 |
polywog |
oic, so they don't rate more than once |
# |
Aug 7th 2008, 20:18 |
freebox |
ratings and users has no relationship? |
# |
Aug 7th 2008, 20:17 |
freebox |
no, users will rate my posts |
# |
Aug 7th 2008, 20:17 |
polywog |
you want to rate users as well? |
# |
Aug 7th 2008, 20:17 |
freebox |
and belongs to user? |
# |
Aug 7th 2008, 20:17 |
polywog |
then do some voodoo in your controller to calc the average rating before saving |