Re: hasMany and find()

2014-11-22 Thread John Andersen
Congratulations Kento :) [snip] -- 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 receiving emails from it,

Re: Cron Jobs

2014-11-22 Thread Andras Kende
This is how I run a cron on godaddy shared server Command: /web/cgi-bin/php5_3 -q -d register_argc_argv=on $HOME/html/mydomain/lib/Cake/Console/cake.php -app $HOME/html/mydomain/app Notice http://php.net/manual/en/features.commandline.options.php -c | Look for php.ini file in this directory Spe

Custom name for dropdown generated by formhelper

2014-11-22 Thread Sam Clauw
I'm building a CMS system with a module called "CmsPage' (list, add, edit, sort delete). Every cms page links via a to another cms page and it tells which record the parent cms page is. The select dropdown holds all the values from the table "cms_pages". Here's my *add.php* with the form helpe

Cron Jobs

2014-11-22 Thread Ed Propsner
Does anyone have an experience with setting up a cron job on a shared host where they must specify the location of the php.ini to be used? It's definitely possible but I haven't quite figured it out with cake and shell scripts. I have a site that is using PHP 5.4 fast cgi, but my crons are failing

Re: Events don't work when lazy load model class

2014-11-22 Thread José Lorenzo
Load the class in all requests or have another class acting as an intermediate that would load the required classes when the event is triggered On Friday, November 21, 2014 11:29:15 PM UTC+1, gonzela2006 wrote: > > Hi, > > I created an event 'Model.User.created' and attached the listener to my