Using iCloud Calendar as DataSource

2014-01-09 Thread Dale Bengston
Hello everyone, I'm looking for an example that uses Apple's iCloud-based calendars as a CakePHP DataSource. Calendar is actually mentioned on the "CakePHP Structure" CookBook page as an example of a non-database DataSource. Actually, the page mentions iCal, which could be Apple's iCal or a com

Re: Error: Class 'SimplePasswordHasher' not found

2014-01-09 Thread Ivo Wolgensinger
I have the same issue. Then I changed in the Model the App:uses... to App::uses('SimplePasswordHasher', 'Controller/Component/Auth'); and it works. But my Problem is, that *only sha1* is working for adding passwords. Nothing else. Any ideas? On Friday, January 3, 2014 6:49:28 AM UTC+1, Justin A

Assets Helper

2014-01-09 Thread CrotchFrog
Every so often I find it necessary to overwrite certain styles or implement styles or js functionality specific to certain pages in my app. For some projects my app application-wide stylesheets and js can get really big really fast and I find it more manageable to break them down into smaller f

Re: Advice on Acl, Auth etc with multiple types of user

2014-01-09 Thread euromark
You should use users and roles (user belongs to role) to manage this. and try to stay away from ACL if possible (which in this case sounds like the case) on top of different controllers/plugins to separate the access for each role, you can than easily switch access based on such a role - and also

Re: Advice on Acl, Auth etc with multiple types of user

2014-01-09 Thread Rafael Queiroz
Well, it's correct, but not unique solution for you problem. You can create "Plugins" for Auth specified: 1. Plugin/Admin 2. Plugin/Buyer 3. Plugin/Supplier 4. Plugin/Technician For each plugin exists one Controller, example AdminAppController, use Auth and configure useModel and sessionKey for y

Advice on Acl, Auth etc with multiple types of user

2014-01-09 Thread WhyNotSmile
I'm building a system which has 4 types of user: Admin, Buyer, Supplier and Technician. They each have access to different areas of the site, and have different restrictions placed on what they can see. From what I've read in the book, the Acl component seems to be the best way to manage this,