Yesterday I had a very frustrating issue implementing CKEditor (an awesome open-source WYSIWYG editor) in a CakePHP 2.3.2 installation. I thought the issue had something to do with CakePHP … ow boy, was I wrong 🙂
If you want to achieve file upload validation trough your CakePHP model, you can use the following code. For this tutorial I you have a database table with a field ‘pdf_path’ (of course, this can be anything you like).
As partial exams just passed at my work (devine.be), the job of carefully entering grades takes a lot of time. A common workflow is
- Correct grades on paper
- Input grades in a spreadsheet with partial grades
- Double-check grades on paper with grades in spreadsheet
- Merge partial grades in a new spreadsheet with global grades
- Input grades in school system
As I was working I was thinking about how nice it would be if I could just speak to my computer and the grades would be filled in automatically.