# |
Sep 11th 2009, 16:26 |
TheSneakster |
markstory... ok, that's moh better |
# |
Sep 11th 2009, 16:25 |
ifunk |
hah |
# |
Sep 11th 2009, 16:25 |
Nathan547 |
Yea... when I edit a user it changes the password |
# |
Sep 11th 2009, 16:24 |
Nathan547 |
It might be the password hash changing actually |
# |
Sep 11th 2009, 16:24 |
markstory |
that has been added in 1.3 though. |
# |
Sep 11th 2009, 16:24 |
markstory |
TheSneakster: No!?! |
# |
Sep 11th 2009, 16:23 |
TheSneakster |
hmmm, AJAX helper doesn't know anything about jQuery!??!?! |
# |
Sep 11th 2009, 16:22 |
ifunk |
jjwdesign: heh, it's easy, but worth it |
# |
Sep 11th 2009, 16:22 |
jjwdesign |
ifunk: Well, I guess I need to learn how to write custom behaviors as well. LOL There goes the weekend. |
# |
Sep 11th 2009, 16:21 |
ifunk |
Nathan547: ahh i see you're using ACL, i'm not too familiar with acl as I've not used it before, but maybe your group doesn't have permission set for those actions? |
# |
Sep 11th 2009, 16:19 |
Scotto |
the cookbook has no examples of using media views with more than one file, how would i use the id to specify the file? I thought that kind of logic in the controller was bad. |
# |
Sep 11th 2009, 16:19 |
Nathan547 |
ifunk: http://bin.cakephp.org/view/1134777600 don't know what else you want to see |
# |
Sep 11th 2009, 16:19 |
ifunk |
jjwdesign: but when you realise you can't use components from shell scripts, or other models, then you start using components for what they were designed for |
# |
Sep 11th 2009, 16:17 |
jjwdesign |
ifunk: I view it as more of a request/conditional portion of code, rather than it effecting the whole model. Just my point of view. Each controller action could set it's own conditions. |
# |
Sep 11th 2009, 16:16 |
icelander |
Alright, my workaround is to just check for ten digits. Phone validation needs a lot of work... |
# |
Sep 11th 2009, 16:16 |
ifunk |
ok bin the code where you setup the auth component |
# |
Sep 11th 2009, 16:16 |
Nathan547 |
yea |
# |
Sep 11th 2009, 16:16 |
ifunk |
are you using auth component? |
# |
Sep 11th 2009, 16:16 |
Nathan547 |
If I knew where the bug was.. |
# |
Sep 11th 2009, 16:16 |
ifunk |
) |
# |
Sep 11th 2009, 16:16 |
ifunk |
the part with the bug in it |
# |
Sep 11th 2009, 16:15 |
Nathan547 |
What part of my code |
# |
Sep 11th 2009, 16:15 |
ifunk |
Nathan547: can you bin your code? |
# |
Sep 11th 2009, 16:15 |
Nathan547 |
If you create a user with a group of X, it'll log in fine... if you change the group it won't log in : \ |
# |
Sep 11th 2009, 16:15 |
ifunk |
jjwdesign: components are more for handling requests, while behaviors are more for handling model/data |
# |
Sep 11th 2009, 16:15 |
ifunk |
jjwdesign: yeh possibly, however i would prob move it into a behavior instead of a component |
# |
Sep 11th 2009, 16:14 |
Nathan547 |
ifunk: I do not |
# |
Sep 11th 2009, 16:14 |
jjwdesign |
ifunk: Do you think others would find that component useful? once debugged, of course? |
# |
Sep 11th 2009, 16:14 |
ifunk |
TheSneakster: this is set in app/config/core.php |
# |
Sep 11th 2009, 16:14 |
ifunk |
TheSneakster: change Configure::write('debug', 0); |
# |
Sep 11th 2009, 16:13 |
TheSneakster |
'scuse me, but how do I make the cakePHP query debugging info go away ? |
# |
Sep 11th 2009, 16:13 |
ifunk |
jjwdesign: no probs |
# |
Sep 11th 2009, 16:13 |
jjwdesign |
ifunk: I think I got it. Thanks for your help. |
# |
Sep 11th 2009, 16:13 |
ifunk |
Nathan547: do you have an isAuthorised() method in your app_controller? |
# |
Sep 11th 2009, 16:11 |
Nathan547 |
Why would modifying a username's group cause it to no longer be able to log in : \ |
# |
Sep 11th 2009, 16:10 |
jjwdesign |
ifunk: $this->SqlConditions->build_criteria_expression($this->params['named']);??? |
# |
Sep 11th 2009, 16:09 |
jjwdesign |
ifunk: Just don't have a clue on the syntax. |
# |
Sep 11th 2009, 16:08 |
jjwdesign |
ifunk... yes. I figured that. |
# |
Sep 11th 2009, 16:08 |
ifunk |
from your controller |
# |
Sep 11th 2009, 16:08 |
ifunk |
$this->SqlConditions->build_criteria_expression(); |
# |
Sep 11th 2009, 16:07 |
ifunk |
haha yeh it's a comment mistake |