a tree with some dependencies

2013-08-20 Thread Mohammad Naghavi
Hi everybody, I have got a problem that I'm fighting with for a while so I just thought I would ask you for some advice. I have a tree with parent, child relation. each element on this tree has a relation with another model. what I need is when an entry in the tree is saved, following happens: *

Re: 3.0: a peek into CakePHP's future

2013-08-20 Thread Vanja Dizdarević
PROBLEM: After finally learning the Events system, I found myself wishing for a sub-event binding triggering scheme. If I have some callbacks bound on Order.change and some on Order.addProduct, I have to create and trigger two separate events and results for the same functionality. IDEA:

CakePHP 2.3 How to set header for download data?

2013-08-20 Thread Gray McCord
I've been using PHP for a while, but am new to Cake. What I am attempting to do is create a vCard on the fly in a PHP variable and download it to a client. To do that, I need to set the response header to something like Content-Type: text/x-vcard; charset=utf-8 and then add a

Blowfish password hashing in 2.4.0-RC2 issues

2013-08-20 Thread Ben Kennedy
Hi all, I'm new here and in the process of building my first CakePHP app, using a recently upgraded 2.3.5 2.4.0-RC2. I've managed to get the new BlowfishPasswordHasher working with my User model beforeSave() function, and can verify in the database that users are created with a blowfish hash

Re: CakePHP 2.4.0-RC2 released

2013-08-20 Thread Ben Kennedy
Hi Mark, If I were to update my (in development, non-live 2.3.5) to 2.4.0-RC2, is it just a case of replacing the lib folder with the one from the new package, or are there some deeper changes that require more file modifications/console scripts? I'm particularly keen to use the new

CakePHP 2.3.8 and MySQL's YEAR Type

2013-08-20 Thread wss . simpson
Hi all, I am currently working on a project that needs to handle annual reports. I was considering using MySQL's YEAR(4)http://dev.mysql.com/doc/refman/5.0/en/year.htmldata type, but was unsure how well CakePHP supported it, so I decided to test it out with bake. I made a table with the

Is make desktop application in cakephp

2013-08-20 Thread Ankur Chauhan
Is make desktop application in cakephp? if yes then how? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop

Re: CakePHP 2.4.0-RC2 released

2013-08-20 Thread Simon Males
Changes that you need to make in your app folder are usually documented in the appendices: http://book.cakephp.org/2.0/en/appendices/2-4-migration-guide.html I do not see any, so you should be good to go. Why don't you give it a go and see what happens? On Tue, Aug 20, 2013 at 6:53 PM, Ben