# |
Aug 6th 2008, 17:58 |
shabba |
yes? |
# |
Aug 6th 2008, 17:58 |
renan_saddam |
shabba: |
# |
Aug 6th 2008, 17:58 |
francky06l |
gwoo: get pretty heavy in case of lot's of controllers/actions ... but I have variants :0 |
# |
Aug 6th 2008, 17:58 |
nymacro |
francky06l: the problem was: it should work, but it didn't. Cake wouldn't connect using local socket, but CocoaMySQL would (using localsocket) |
# |
Aug 6th 2008, 17:58 |
shabba |
so there both the same |
# |
Aug 6th 2008, 17:58 |
gwoo |
francky06l: good use of roles etc |
# |
Aug 6th 2008, 17:58 |
renan_saddam |
shabba: /vendors or /app/vendors |
# |
Aug 6th 2008, 17:57 |
francky06l |
nymacro: well mac/Os are not my cup of tee |
# |
Aug 6th 2008, 17:57 |
gwoo |
francky06l: the acl setup is nice |
# |
Aug 6th 2008, 17:57 |
shabba |
do vendors go in app/vendors or cake_path/vendors ? |
# |
Aug 6th 2008, 17:57 |
nymacro |
took me ages to set up.. because i got distracted |
# |
Aug 6th 2008, 17:57 |
shabba |
hey guys |
# |
Aug 6th 2008, 17:57 |
nymacro |
Mac OS X/Darwin |
# |
Aug 6th 2008, 17:57 |
francky06l |
nymacro: under windows ? |
# |
Aug 6th 2008, 17:56 |
nymacro |
mysql_connect would connect to 127.0.0.1, but wouldn't connect to localhost using a local socket |
# |
Aug 6th 2008, 17:55 |
nymacro |
lol, that is weird |
# |
Aug 6th 2008, 17:54 |
loki_racer |
cool.....thanks guys |
# |
Aug 6th 2008, 17:54 |
renan_saddam |
loki_racer: anywhere |
# |
Aug 6th 2008, 17:54 |
francky06l |
loki_racer: check the cookbook and google groups, quite straight froward |
# |
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 |