# |
Aug 6th 2008, 17:53 |
loki_racer |
is that used in the controller or view |
# |
Aug 6th 2008, 17:53 |
loki_racer |
never used it.....guess I will look into it |
# |
Aug 6th 2008, 17:53 |
francky06l |
loki_racer: you can builld up your array using set::extract |
# |
Aug 6th 2008, 17:52 |
francky06l |
gwoo: for the other things, .. feel free to amend, suggest ... (I wanted to avoid N user Aro |
# |
Aug 6th 2008, 17:52 |
loki_racer |
francky061: Polls and it has many PollAnswer and I find the Poll with recursive getting all its PollAnswer, do I have to loop that and rebuild that array to have what you are saying |
# |
Aug 6th 2008, 17:51 |
francky06l |
loki_racer: as an array .. (value => 'label1', ,value2 =>' label2') |
# |
Aug 6th 2008, 17:49 |
francky06l |
gwoo: do not know, I could have done the inherintance, but was scared to loose people in there ..Anyway, I use it in prod ...(with also inheritance) ... and wanted to share it .. |
# |
Aug 6th 2008, 17:49 |
loki_racer |
i can't seem to figure out how to assign the value of the radio buttons |
# |
Aug 6th 2008, 17:49 |
loki_racer |
what is the correct way to use the form help to build a set of radio buttons |
# |
Aug 6th 2008, 17:48 |
seghezzi |
Thank you very much |
# |
Aug 6th 2008, 17:48 |
gwoo |
there are some other things you might have done but it would not have saved you much more code |
# |
Aug 6th 2008, 17:47 |
gwoo |
francky06l: looks pretty good |
# |
Aug 6th 2008, 17:47 |
renan_saddam |
seghezzi: http://manual.cakephp.org/view/472/isunique |
# |
Aug 6th 2008, 17:47 |
mitnavn_ |
Can I make a function in the controller work without a view without make it private? |
# |
Aug 6th 2008, 17:47 |
seghezzi |
D |
# |
Aug 6th 2008, 17:47 |
francky06l |
seghezzi: validation isUnique |
# |
Aug 6th 2008, 17:46 |
seghezzi |
hi, how do i validate that an entry is unique in the database, using the model? |
# |
Aug 6th 2008, 17:44 |
francky06l |
gwoo: http://bakery.cakephp.org/articles/view/authext-a-small-auth-extension-to-set-permission-on-user-belonging-to-several-groups-roles no emergency thougth.. |
# |
Aug 6th 2008, 17:43 |
gwoo |
whats the link? |
# |
Aug 6th 2008, 17:43 |
gwoo |
francky06l: i have not looked at it yet |
# |
Aug 6th 2008, 17:31 |
francky06l |
gwoo: I wrote about an Auth extended in bakery (about several groups/roles) ... good, bad, wrong way, did not check ? I'd like to have your opinion ... |
# |
Aug 6th 2008, 17:29 |
Tom_M_ |
but maybe worth a look |
# |
Aug 6th 2008, 17:29 |
Tom_M_ |
and pretty specific to what i needed |
# |
Aug 6th 2008, 17:29 |
Tom_M_ |
http://bin.cakephp.org/view/115579865 |
# |
Aug 6th 2008, 17:29 |
Tom_M_ |
bleh i didnt realize how clunky it is |
# |
Aug 6th 2008, 17:28 |
evo__ |
ok ADmad |
# |
Aug 6th 2008, 17:28 |
zmonteca |
can somebody help me better understand the error model and handling in cake? I don't think i'm dealing with errors properly. |
# |
Aug 6th 2008, 17:26 |
ADmad |
evo__: there are a couple of image upload and resize behaviors on the bakery.. check them out |
# |
Aug 6th 2008, 17:26 |
Tom_M_ |
ill paste to pastebin in a sec |
# |
Aug 6th 2008, 17:25 |
evo__ |
where is it Tom_M_ ? |
# |
Aug 6th 2008, 17:25 |
Tom_M_ |
that i wrote and need to polish up, but does the trick |
# |
Aug 6th 2008, 17:25 |
Tom_M_ |
evo__ i use a behavior |
# |
Aug 6th 2008, 17:24 |
evo__ |
hello, whats the finest image and resize, well explained and documented image upload component* |
# |
Aug 6th 2008, 17:24 |
evo__ |
hello, whats the finest image and resize, well explained and documented component |
# |
Aug 6th 2008, 17:23 |
Tom_M_ |
maybe im just being anal for an extra simple line of code |
# |
Aug 6th 2008, 17:23 |
Tom_M_ |
$trivia = $this->paginate('Questionset'); $trivia = $trivia[0]; --- was what i did and worked |
# |
Aug 6th 2008, 17:23 |
Tom_M_ |
well i need the index. i should say rather extra depth |
# |
Aug 6th 2008, 17:22 |
gwoo |
Tom_M_: array_pop() or array_shift() |
# |
Aug 6th 2008, 17:22 |
francky06l |
gwoo: he could set a default user for non - authenticated ...? |
# |
Aug 6th 2008, 17:22 |
Mathachew |
What I have to do is manually authorize the user after their permissions are setup, and redirect them accordingly. |
# |
Aug 6th 2008, 17:21 |
Tom_M_ |
i could just go $array = $array[0] - but thats silly i thought |