Log message #1032407

# At Username Text
# Sep 11th 2009, 16:39 il_padrino public function __construct() {
# Sep 11th 2009, 16:39 il_padrino ifunk,
# Sep 11th 2009, 16:38 ifunk il_padrino: look into App::import() it's cake way of handling include paths
# Sep 11th 2009, 16:37 il_padrino this is my out of debug(ini_get('include_path'));
# Sep 11th 2009, 16:36 il_padrino /home/stefano/public_html/MT/cake:/home/stefano/public_html/MT/cake/app/:.:/usr/share/php:/usr/share/pear
# Sep 11th 2009, 16:36 il_padrino ifunk,
# Sep 11th 2009, 16:36 ifunk il_padrino: look into App::import('Vendor', 'SomeLibrary', array('file' => 'some'.DS.'library.php'));
# Sep 11th 2009, 16:35 ifunk and do something like this in your model's beforeSave: if (isset($this->data[$this->alias]['password_change'])) $this->data[$this->alias]['password'] = Security::hash($this->data[$this->alias]['password_change'], null, true);
# Sep 11th 2009, 16:34 il_padrino any idea?
# Sep 11th 2009, 16:34 il_padrino S
# Sep 11th 2009, 16:34 il_padrino ;( my cake isn't include my vendors folder
# Sep 11th 2009, 16:34 il_padrino i have a problem with include_path
# Sep 11th 2009, 16:34 ifunk Nathan547: alternatively bypass cake's hashing altogether
# Sep 11th 2009, 16:33 il_padrino hello
# Sep 11th 2009, 16:33 Nathan547 ifunk: That's too easy though
# Sep 11th 2009, 16:33 jjwdesign Internet... I hope not. I don't know what else I'm good at. LOL
# Sep 11th 2009, 16:32 ifunk Nathan547: echo $form->input('password', array('value' => ''));
# Sep 11th 2009, 16:32 markstory internet is a fad
# Sep 11th 2009, 16:32 jrod yeah it is.... everyone knows silverlight is the future of rich web ui :)
# Sep 11th 2009, 16:32 ifunk Nathan547: i recommend not displaying the hashed value in the form
# Sep 11th 2009, 16:32 jjwdesign AJax is just a fad. :)
# Sep 11th 2009, 16:31 jjwdesign LOL
# Sep 11th 2009, 16:31 Nathan547 I guess I could check if submitted password = current hash
# Sep 11th 2009, 16:31 KarlHungus jjwdesign: albeit much slower =)
# Sep 11th 2009, 16:30 jjwdesign Nathan547... You might just be able to remove the password field from the 'edit' (users) view. That will prevent from being saved again...
# Sep 11th 2009, 16:30 jrod markstory: yeah it does a great job of bringing the complexity of normal development to the browser :)
# Sep 11th 2009, 16:30 KarlHungus jjwdesign: its write less, do more
# Sep 11th 2009, 16:30 ifunk jjwdesign: jquery is so popular because people love writing javascript code others can't easily read
# Sep 11th 2009, 16:30 markstory jjwdesign: its easy to learn, you don't need to know javascript, and its good at what it does.
# Sep 11th 2009, 16:30 markstory I haven't had the chance to play with it, but I remember seeing something about build scripts.
# Sep 11th 2009, 16:30 jrod jjwdesign: because people love the plugins... or so i see from designers who don't really understand it
# Sep 11th 2009, 16:30 markstory jrod: doesn't cappucino have a build process as well?
# Sep 11th 2009, 16:29 jjwdesign Why is JQuery so popular?
# Sep 11th 2009, 16:29 jrod markstory: i know i was just joking a little....
# Sep 11th 2009, 16:29 TheSneakster (
# Sep 11th 2009, 16:29 Nathan547 jjwdesign: Rewrite them how?
# Sep 11th 2009, 16:29 TheSneakster that article is on Italian blog
# Sep 11th 2009, 16:29 markstory but I don't think one is better than the other :)
# Sep 11th 2009, 16:29 TheSneakster p
# Sep 11th 2009, 16:29 TheSneakster great, now I'll have to learn Italian, too
# Sep 11th 2009, 16:29 markstory which is fine, as it lets you pick what you want.