Re: recursive = 3

2007-11-21 Thread wluigi
are you sure you define correctly the relationships ? did you try from the third model to find the sencond and the first ? didn t you set recursive to your seconde model ? On Nov 21, 3:58 am, rtconner [EMAIL PROTECTED] wrote: Uhm.. Creata Model Create a second model and HABTM relate them

Re: How to run a background process in CakePhp

2007-10-18 Thread wluigi
yes you can do this ; create an additional action : backgroundscript that call your exec (/usr/bin/php yourscript.php /dev/null ); in your main real action use curl to call your backgroundscript action with the appropriates options : curl_setopt($ch,CURLOPT_TIMEOUT, 1)

Re: Eclipse code completion in Views

2007-10-11 Thread wluigi
That's great. So in the controller, you can use if(false) { $this-Model = new Model(); } but you've to add this in every action of every controller. How to add it to one and only one place ? On Oct 10, 9:34 pm, Stu [EMAIL PROTECTED] wrote: That is brilliant, and worked flawlessly

Re: how to cache all the view in call ?

2007-07-07 Thread wluigi
task. Regards, Pablo On 7/6/07, wluigi [EMAIL PROTECTED] wrote: @keaten patel : it doesn t solve the problem for the first user how must regenerate the view @Rajesh : yes that is it but the main problem was to call every action. So I use Curl : foreach($controllerActionList

Re: how to cache all the view in call ?

2007-07-06 Thread wluigi
, wluigi [EMAIL PROTECTED] wrote: the question was not how to use cache but how to generate de cached contente for every action of my site every morning, so that the first people how use the site can take benefits of the cached view. snip Set up cron to delete cache folders every morning

Re: how to cache all the view in call ?

2007-07-05 Thread wluigi
the question was not how to use cache but how to generate de cached contente for every action of my site every morning, so that the first people how use the site can take benefits of the cached view. On 1 juil, 18:49, Samuel DeVore [EMAIL PROTECTED] wrote: gwoo:

Re: how to cache all the view in call ?

2007-07-01 Thread wluigi
for information I use curl to call all action On 18 juin, 11:05, wluigi [EMAIL PROTECTED] wrote: no one know how to handle this ? On 15 juin, 14:31, wluigi [EMAIL PROTECTED] wrote: I want to do this in only 1 call On 15 juin, 14:27, wluigi [EMAIL PROTECTED] wrote: I try differents

Re: how to cache all the view in call ?

2007-06-18 Thread wluigi
no one know how to handle this ? On 15 juin, 14:31, wluigi [EMAIL PROTECTED] wrote: I want to do this in only 1 call On 15 juin, 14:27, wluigi [EMAIL PROTECTED] wrote: I try differents ways but no one is perfect. I just want every morning to call a controller action or a batch

Re: how to cache all the view in call ?

2007-06-15 Thread wluigi
I want to do this in only 1 call On 15 juin, 14:27, wluigi [EMAIL PROTECTED] wrote: I try differents ways but no one is perfect. I just want every morning to call a controller action or a batch that write the cached file for all my couple od /controller/action/param1/ param2

how to cache all the view in call ?

2007-06-15 Thread wluigi
I try differents ways but no one is perfect. I just want every morning to call a controller action or a batch that write the cached file for all my couple od /controller/action/param1/ param2/... --~--~-~--~~~---~--~~ You received this message because you are

Re: so many queries--intentional??

2007-05-29 Thread wluigi
The most important is that you only ask for what you need and make a good use of $conditions,$fields,$recursive,$limit and bindModel() unbindModel(); On May 29, 9:32 am, AD7six [EMAIL PROTECTED] wrote: On 29 mayo, 09:10, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: On May 28, 6:29 pm,

Re: how to build a search helper ?

2007-05-09 Thread wluigi
Thanks it answers all my question. I will look to the code in few days. Thanks again On 9 mai, 13:35, AD7six [EMAIL PROTECTED] wrote: On 7 mayo, 11:09, wluigi [EMAIL PROTECTED] wrote: I want to build a serch helper that can be used in index action like paginator. This helper should

how to build a search helper ?

2007-05-07 Thread wluigi
I want to build a serch helper that can be used in index action like paginator. This helper should be able to use form data to generate a nice url like with paginator. PS : perhaps the solution isn't a helper. I can't see how to handle this