Log message #107092

# At Username Text
# 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
# Aug 6th 2008, 17:21 gwoo TommyO: isAuthorized() is called automatically in startup
# Aug 6th 2008, 17:21 Tom_M_ as if it was a find all
# Aug 6th 2008, 17:21 Tom_M_ francky061: it has an extra key in there [0]
# Aug 6th 2008, 17:21 francky06l Mathachew: you can change the mode of Auth in beforeFlter for authenticated users ...
# Aug 6th 2008, 17:19 TommyO Mathachew: Auth only calls its isAuthorized() when it's told to. it won't bother otherwise. so you need to be sure your custom setup gets called properly
# Aug 6th 2008, 17:19 francky06l Swiatecki: bye
# Aug 6th 2008, 17:19 Swiatecki anyways, night night, its getting late in GMT +1
# Aug 6th 2008, 17:18 francky06l Mathachew: I guess Auth could do all this ... but if we can see the code of your implementation ...?
# Aug 6th 2008, 17:17 TommyO Mathachew: ok. is your custom ACL a component, class, model method?