RE: cheeseCake Photoblog V1.5 Beta 2 released

2006-12-16 Thread Mariano Iglesias
Congratulations on the release Tarique. Good work. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De

cheeseCake Photoblog V1.5 Beta 2 released

2006-12-16 Thread Dr. Tarique Sani
Hello Folks, We released version 1.5 Beta 2 of Cheesecake Photoblog yesterday. The only change is that it now works with version 1.11.xx of cakePHP and features an installer. Download from http://cakeforge.org/projects/cheesecake/ Thanks to everyone who has downloaded it in the past and made it

Re: Three seemingly unrelated questions from a Cake n00b

2006-12-16 Thread Jeff
On Dec 15, 2006, at 8:05 PM, sumanpaul wrote: > 2. Scaffolding is just scaffolding only, not meant for production use. > As mentioned by woodman use bake to create the code and then > customize. Thanks for all the help, everyone! I will probably now have to sheepishly admit that I can't see

Pagination helper with GET

2006-12-16 Thread [EMAIL PROTECTED]
I have my form in method GET. When I search something, the link in the address bar is similar to: http://localhost/blog/posts/search?data%5BPost%5D%5Bsearch%5D=1&data%5BPost%5D%5Btre%5D= But in the links of pages renderered by paginator i find this url http://localhost/blog/posts/search?data=Arr

Re: Email Component

2006-12-16 Thread Mandy
Thanks phpNut :) I know I know - I have been waiting for 1.2 :) Hope to see this put in place in the next couple of months :) Best of luck! Thanks, Mandy. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake P

Re: Textarea limit

2006-12-16 Thread phpjoy
i know you have to use something in addition for the native HTML, but i wondered whether cakephp provides that or not.. i thought of adding an onclick, and javascript at the start of the file - as i normally do. --~--~-~--~~~---~--~~ You received this message be

Re: Keeping unbindModel out of your controllers

2006-12-16 Thread Mikee Freedom
Beautiful! Thanks again mate, mikee On 17/12/06, Mariano Iglesias <[EMAIL PROTECTED]> wrote: > > Article got approved already. > > About your way to handle it: it makes sense, having sort of a versioning > control. Pretty cool. > > -MI > >

RE: Keeping unbindModel out of your controllers

2006-12-16 Thread Mariano Iglesias
Article got approved already. About your way to handle it: it makes sense, having sort of a versioning control. Pretty cool. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be

Re: How to make findAll() return object?

2006-12-16 Thread anselm
On Dec 16, 5:15 pm, "anselm" <[EMAIL PROTECTED]> wrote: > Is there a specific reason you don't want to use models in your views ? > Presumably it's just the same data represented differently ? I meant - IF you had object relational mapping (which was what I was wondering about in my first post)

Re: Email Component

2006-12-16 Thread Larry E. Masters aka PhpNut
Until 1.2 is released by me and the component completed it will not work. 1.2 has not even been released in a development version so be patient. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-

Re: How to make findAll() return object?

2006-12-16 Thread anselm
> It seems that you want to have > direct access to the model from your view. We are more inclined towards > sending just the Set data to the view rather than the whole model > object. Is there a specific reason you don't want to use models in your views ? Presumably it's just the same data repr

Re: Three seemingly unrelated questions from a Cake n00b

2006-12-16 Thread nate
You can do it in either. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECT

Email Component

2006-12-16 Thread Mandy
Hi, I just updated to the cake 1.2 branch and found the wonderful Email component. I have been using it for 2-3 days and I am very happy with how easy it's made emailing. However, it has an option of generating the email content from a template, but I don't think the function has been written.

Re: Help with a moderately complex query

2006-12-16 Thread Jacob Buys
I found this easy solution to calculated fields somewhere in the group: http://groups-beta.google.com/group/cake-php/msg/c74f50974ffe2d62?hl=en&; It uses SQL views, which makes things a lot easier (at least to me :-), as you don't have to fiddle with the results array... Hope it helps, Jacob

Ajax Updater and IE 6.0 errors

2006-12-16 Thread Stefan
If you are using the get method in ajax functions, use modrewrite (maybe it's not a modrewrite problem) and IE 6.0 reports errors add the dummy parameter to the ajax url option: WRONG URL: url = "/products/edit/2"; GOOD URL:url = "/products/edit/2/#";// even if the url has it's own parame

Re: Help with a moderately complex query

2006-12-16 Thread AD7six
Hi Chris, Why are you not able to change that loop, is the loop itself some how legacy? It's not clear to me where/how the minimum and maxium members values need to be determined - where does that come from, is that in the stat table? Anyway here are a few different permutations depending on wha

Re: Three seemingly unrelated questions from a Cake n00b

2006-12-16 Thread meek
AzzzY schrieb: > 1. app/config/core.php is a good place to define your constants > I think app/config/bootstrap.php is the preferred place to define (or include) constants, global variables and global functions. 'core.php' would work fine, but it's really for configuring Cake rather than a spec

Re: acl.php

2006-12-16 Thread Falagar
@Daniel That has not fixed the problem for me. I have now gotten the fix for the errors, the initdb call does not work yet though. If I execute "php acl.php initdb" or "php-cgi acl.php initdb" with a valid database connection in app no tables are created. So I just executed the queries manually t

Re: Help with a moderately complex query

2006-12-16 Thread [EMAIL PROTECTED]
Hi Chris There is a method model->afterFind() that can be useful in some situations, but rather than fight too hard (which tends to make the code/sql less readable), I let cake return what it wants with the find*() and then reformat the array in the model before returning to the controller. This

Re: Keeping unbindModel out of your controllers

2006-12-16 Thread Claudio Poli
On 16/dic/06, at 09:04, Mariano Iglesias wrote: > > Oh, yes you are right. It seems that after editing an article the > bakery > puts it back on the approval queue. It doesn't seem like a bug to > me, it > makes sense (otherwise one could get published a good article, and > then edit > it a

RE: Errors in the View

2006-12-16 Thread Mariano Iglesias
foreach($data as $row['note']) doesn't give a syntax error??? I'm mesmerized. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! --

RE: Keeping unbindModel out of your controllers

2006-12-16 Thread Mariano Iglesias
Oh, yes you are right. It seems that after editing an article the bakery puts it back on the approval queue. It doesn't seem like a bug to me, it makes sense (otherwise one could get published a good article, and then edit it and put spam or whatever.) So we've just gotta be patient again :) -MI

Re: Errors in the View

2006-12-16 Thread Jon M.
Thank you that worked. I am so documenting this and write something up in the bakery about it if possible. Nate you rock and I am a strong believer in CakePHP everyone I know that deals in PHP I have been telling them about this so far nothing but good things about it :) CakePHP F.T.W!!! - J On