Started developing a survey plugin

2010-07-16 Thread TuteC
Hi all. I've searched through the internet for a survey plugin for CakePHP, but couldn't find a simple and modular one as a plugin has to be. So I started developing one, and as I thought that someone else may find this useful, I'm sending this email. I'm releasing the code in

change action to render on beforeRender()

2010-05-26 Thread TuteC
Hi all. I'd like to change the default action to render so as to check if a customized one exists (so as to render page.eng.ctp instead of page.ctp. So, if that file exists, I want to render it on beforeRender(), like so: function beforeRender() { $locale =

New simple attachment component

2009-07-07 Thread TuteC
Hello all! As I didn't find any simple attachment component for CakePHP, I started one, based on sabbour's code[2]. It encapsulates file upload and thumbnailing logic, so as to have a clean controller handling files. It uses the file system, but I'll improve it to also support DB uploads, so as