User Profile

User
 Natcon67
Location
 Denver, Colorado

Recent Articles

Extended beforeFilter() snippet

This is a simple addition to app_controller.php to allow a more customized beforeFilter() callback.
  • Published by Natcon67 04/07/07 - 02:08
  • 19365 views
  • 3 comments

phpThumb Component

This is my first attempt at writing a component for CakePHP. If you have any suggestions please add them to the comments and I'll incorporate them.
  • Published by Natcon67 03/19/07 - 22:44
  • 32662 views
  • 18 comments

Recent Comments

Posted 03/04/2007 11:02am
Drayen, very nice job! Thanks for modifying my original code; yours has many more features and is written very well. I'd be happy to update this current component or link to a new component that you create. Let me know.

Nate
Posted 27/03/2007 11:03am
If you're getting errors and having problems with the component try adding a little debugging into it by doing this.

In the thumb.php component at line 99 add this code below the existing $this->addError() call:

$this->addError(implode('; ',$phpThumb->debugmessages));

This will tell you everything that phpThumb is doing and will help you track down the problem better.

Please, if you find common errors that I can add to the component that will give a better user experience, please add them in the comments here.
Posted 30/11/-0001 12:00am
Does anyone know of a way to use $this->obAuth->lock() in the controller beforeFilter?