Re: Are you going to let this happen?

2007-03-24 Thread Mandy
Went and paid my tributes :) On Mar 25, 1:03 am, "francky06l" <[EMAIL PROTECTED]> wrote: > Actually I mean 21K and about 5k for the sum of all others ... > > On Mar 24, 9:00 pm, "francky06l" <[EMAIL PROTECTED]> wrote: > > > Just got here and voted hummm no doubt concerning the results, > > m

newbie baker question

2007-03-24 Thread Stacey
hi all, i'm playing with bake for the first time using a tutorial i found on the ibm website. after finally getting my paths right, i am confused by one thing. i have a model as follows: app\models\dealer.php array( 'className' => 'Product', 'conditions'=>'', 'order'=>'

losing data after submit

2007-03-24 Thread carlos
Hello. I have a simple form and a submit button. Data are not from a table. After submit I want to show the same page with some message like "data checked", but when the page is showed again data I wrote are not showed. Data are not save, data are checked and show if it is ok or not. How can I fix

RE: CakePHP vs Django?

2007-03-24 Thread Mariano Iglesias
Hey Aldo! Nice to see you here mate! ;) -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar

Re: CakePHP vs Django?

2007-03-24 Thread aldo.nievas
It depends on which programming language are you going to use. Cake is based on PHP and Django is based on Python. Both are MVC frameworks so the code necessary should be well organized. Hope this help. On Mar 24, 12:08 pm, "walterbyrd" <[EMAIL PROTECTED]> wrote: > I am not so much interested in

Re: Admin Routing Techniques

2007-03-24 Thread Adam Royle
I don't have a solution, but in your second example, it will never execute the render() method because you're doing a return on the previous line. Maybe just a typo but thought I'd flag it just in case. Adam On Mar 24, 7:12 am, "Sonic Baker" <[EMAIL PROTECTED]> wrote: > Hi, > > In my current app

Re: What is the story with /app/tmp?

2007-03-24 Thread Rik
You should take a look at svn:ignore. I think there are even some properties to set the good rights for directories. On 23 mar, 18:19, "rtconner" <[EMAIL PROTECTED]> wrote: > I delete the folder and Cake seem to happily carry on without it. Cake > does not seem to recreate the folder at all. Then

Re: yet another hasMany save display question

2007-03-24 Thread francky06l
Well, what I mentionned can be used to solve your case, mail me in PM ... On Mar 24, 11:19 pm, "nnichols" <[EMAIL PROTECTED]> wrote: > Once again thanks for your help. In a single view I have instances of > the three models mentioned in my original post. On saving in this > view it needs to cr

Re: yet another hasMany save display question

2007-03-24 Thread nnichols
Once again thanks for your help. In a single view I have instances of the three models mentioned in my original post. On saving in this view it needs to create the User and AccountProfile (no problem with that) and it also needs to create one or more AccountMembers. Then again on edit it has to

Discussion on cake-apps-sites-in-the-wild

2007-03-24 Thread savagekabbage
Just letting you guys know about a scheduling tool I'm working on for my family's business. I still need to try to write an auto scheduling algorithm, but it has some nifty features like drag & drop scheduling. It's going to take a lot more to be finished, but if you want to see it: www.shifttr

Re: WithCake.com relaunched

2007-03-24 Thread jonathan.snook
> There's still two main features that I need to add: > 1) RSS feeds for the job listing Correction, just added the RSS feeds but haven't added buttons on the page, yet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

WithCake.com relaunched

2007-03-24 Thread jonathan.snook
So, awhile back I launched WithCake.com as a blog about the stuff I ran into doing CakePHP development. I decided to scrap that idea and move the content back into my site, Snook.ca. I ended up with a domain that needed "something"... After seeing a job wiki for CodeIgniter, I thought it might be

Re: yet another hasMany save display question

2007-03-24 Thread francky06l
Sorry this article refers also to Rossoft code to help on this : http://rossoft.wordpress.com/2006/08/23/working-with-habtm-associations/ I have used it for HABTM, maybe I misunderstand what you want to achieve .. good luck On Mar 24, 9:45 pm, "nnichols" <[EMAIL PROTECTED]> wrote: > Cheers for

Re: Integrating cake with an existing project.

2007-03-24 Thread Toad
Thanks Mariano, as I mentioned before I am completely new to cake and sometimes don't even know what to search for exactly. Your answers will give me a good start, and certainly I will post the results here. --~--~-~--~~~---~--~~ You received this message because

Re: Integrating cake with an existing project.

2007-03-24 Thread Toad
As you said it requires more efforts and a lot of time. It would be much easier to do split the porting into several steps. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, se

Re: yet another hasMany save display question

2007-03-24 Thread nnichols
Cheers for taking the time to read my post and share the link, but that link is for an article relating to mods to the HABTM behaviour not saving of hasMany assocs. Interesting read all the same. Nick --~--~-~--~~~---~--~~ You received this message because you a

Re: yet another hasMany save display question

2007-03-24 Thread francky06l
Check this out : http://bakery.cakephp.org/articles/view/202 On Mar 24, 6:40 pm, "nnichols" <[EMAIL PROTECTED]> wrote: > Hi, > > I was wondering if anyone knew a neat way to use the html helper to > handle forms that allow for the adding/editing of a main model and > it's associated entries in a

Re: Association dilemas

2007-03-24 Thread francky06l
There is something I do not get in your description. The way it's described seems that a Customer has only one sub_tag. Since a Customer record has subtag_id, but if you want to do this why create 2 models is a Customer has only one subtag ? If this subtag is not shared among Customer you could ma

Re: accessing a url param in a router

2007-03-24 Thread nate
Yeah, that's not really how you're supposed to use it. See the example here: http://cake.insertdesignhere.com/posts/view/10 On Mar 24, 1:55 pm, "Zoltan" <[EMAIL PROTECTED]> wrote: > I found making this the last condition seems to do the trick, but I'm > not sure if this is the proper way to do i

Re: Are you going to let this happen?

2007-03-24 Thread francky06l
Actually I mean 21K and about 5k for the sum of all others ... On Mar 24, 9:00 pm, "francky06l" <[EMAIL PROTECTED]> wrote: > Just got here and voted hummm no doubt concerning the results, > more than 21K for cake, symphony about 5K ..:-) > > On Mar 24, 7:03 pm, "Mariano Iglesias" <[EMAIL PRO

Re: Are you going to let this happen?

2007-03-24 Thread francky06l
Just got here and voted hummm no doubt concerning the results, more than 21K for cake, symphony about 5K ..:-) On Mar 24, 7:03 pm, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > It got even more realistic: > > CakePHP: 16,685 > Symfony: 3,485 > > But that shouldn't stop you from voting, go

RE: Are you going to let this happen?

2007-03-24 Thread Mariano Iglesias
It got even more realistic: CakePHP: 16,685 Symfony: 3,485 But that shouldn't stop you from voting, go ahead give your arrow up to CakePHP! -MI --- Remember, smart coders answer ten questions for every question they ask.

Re: Are you going to let this happen?

2007-03-24 Thread [EMAIL PROTECTED]
problem solved cake: 13k symfony: 4k :-) On Mar 24, 6:01 pm, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Also you can click on the DOWN arrow next to Symfony ;) > > And click on CakePHP item to see both inner links, and vote on the UP arrow > next to both CakePHP sites. > > PS: How is this t

yet another hasMany save display question

2007-03-24 Thread nnichols
Hi, I was wondering if anyone knew a neat way to use the html helper to handle forms that allow for the adding/editing of a main model and it's associated entries in a hasMany associated model. For example, I have a User model which hasOne AccountProfile and hasMany AccountMembers. In my Users

Re: accessing a url param in a router

2007-03-24 Thread Zoltan
I found making this the last condition seems to do the trick, but I'm not sure if this is the proper way to do it: Router::connect('/[0-9]{1,4}', array('controller' => 'places','action' => 'view', $_GET['url'] )); Zoltan On Mar 24, 12:49 pm, "Chowsapal" <[EMAIL PROTECTED]> wrote: > I'm not sur

Re: A question about the Email component

2007-03-24 Thread D.Pape
hi. i´ve the same problem in version 1.2.0.4451 (svn-head!). i created the layouts in the layouts/email folder. is it a bug?! thanks. cheers. On 19 Mrz., 19:27, "djiize" <[EMAIL PROTECTED]> wrote: > did you create proper layouts in /app/views/layouts/email/ ? > seehttp://bakery.cakephp.org/arti

RE: Are you going to let this happen?

2007-03-24 Thread Mariano Iglesias
Come on guys, help out. Vote the up arrow next to CakePHP. Symfony at the top? That's bullshit. Guess those guys heard about this voting way before we did. So let's keep things clear by letting the community know what we all bakers know: CakePHP is *the best* framework. Symfony doesn't even comp

RE: Are you going to let this happen?

2007-03-24 Thread Mariano Iglesias
Also you can click on the DOWN arrow next to Symfony ;) And click on CakePHP item to see both inner links, and vote on the UP arrow next to both CakePHP sites. PS: How is this thing scored? I just saw Symfony go from 9500 to over 10,000 with the same number of votes as before! -MI

Re: accessing a url param in a router

2007-03-24 Thread Chowsapal
I'm not sure I know the best answer for this, but one thing you could do is: Router::connect('/:param_name', array('controller' => 'places', 'action' => 'view')); This will set $this->params['param_name'] to 123 or whatever is there. As far as limiting this to only numbers, or using info from t

Are you going to let this happen?

2007-03-24 Thread nate
Time to get out the vote, people: http://unspun.amazon.com/Top-PHP-frameworks/list/show/3464 --~--~-~--~~~---~--~~ 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@googlegro

Re: Group , Permission to edit table

2007-03-24 Thread cc96ai
$tmp = $this->Acl->getAco('users.7'); users.7 is Aro ID I try to use getAco, but it didnt get what I want any idea how to getAco object ? aco Object ( [useDbConfig] => default [cacheQueries] => [_log] => [useTable] => [displayField] => id [id] => [data] => Array

Re: sessions in cake db _gc

2007-03-24 Thread jyrgen
hi, thanks for pointing my to this, you're right, there seems to be no solution. i wouldn't mind writing a custom handler, which erases expired session entries. but i need something to start with... still i'm confused about the fact, that the cake session handling behaves different on different

CakePHP vs Django?

2007-03-24 Thread walterbyrd
I am not so much interested in benchmarks. Rather, which is easier to develop database oriented apps. I am considering fairly large projects, so keeping the code organized is important. Also, the apps have to be easily customizable. --~--~-~--~~~---~--~~ You recei

Data cleanup in Model

2007-03-24 Thread Michael Tuzi
I thought that data cleaning should be done prior to a save, so I tried using stripAll in the model as follows: function beforeSave() { require_once('sanitize.php'); $cleaner = new Sanitize(); $profile = $this->data; $fields['Profile'] = $this->getColumnTy

Re: View this page "Cake Apps/Sites In The Wild"

2007-03-24 Thread Jon Bennett
Hi Langdon, > Looks like you have some "Lorem ipsom ..." text still in the Press > Releases page. ahh, well spotted, was awaiting some content, have removed the link and the latin! > Love the site. Nice design. Shopping functions look pretty simple. thanks, design was by a friend, Erik, the

Re: Integrating cake with an existing project.

2007-03-24 Thread [EMAIL PROTECTED]
Why not just porting your application to the cakephp framework? It requires more effort, but the end result will be worth it. On Mar 24, 3:11 pm, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > All these questions have been already covered in the manual and in this > group. Perhaps it wouldn't

accessing a url param in a router

2007-03-24 Thread Zoltan
I'm sure this has been asked before, but I haven't be able to turn up the answer: I want to have a url like mysite/123 resolve to mysite/places/view/506 Using 1.2, I have a route like: Router::connect('/[0-9]+', array('controller' => 'places', 'action' => 'view', $this->params['url'] <-- **doesn

Re: a technical statistics feature?

2007-03-24 Thread Chris Hartjes
On 3/24/07, Charlie Chilton <[EMAIL PROTECTED]> wrote: > > Hello, > > Firstly many thanks for such a great framework, > > Just a quick note to see if anyone knows of any statistic function of > Cake for performance analysis? For example, when a page is generated, > things like the what models wer

Re: Ajax->autocomplete adding a '1' below the form field

2007-03-24 Thread Chris Hartjes
On 3/23/07, yolabingo <[EMAIL PROTECTED]> wrote: > > > autoComplete('User/livesearch', '/users/ > search'); ?> > Well, the problem might be that you're doing echo print above instead of just echo or print. :) The output of print is always 1 when doing a comparison, so that command becomes

RE: YACCA: My first article on bakery

2007-03-24 Thread Mariano Iglesias
If the contents of the article are good enough (and from what I could see they certainly are) then it will be published. Just have a little patience since Bakery Moderators tend to have a huge load of work. PS: Thanks for sharing your knowledge with other Bakers! A rare quality these days ;) -MI

RE: Integrating cake with an existing project.

2007-03-24 Thread Mariano Iglesias
All these questions have been already covered in the manual and in this group. Perhaps it wouldn't be a bad idea, since you are the one seeking for these answers, that you compile them into the kind of tutorial you are looking for. 1. vendors/ is the place for that. Check http://manual.cakephp.or

Re: R: webroot

2007-03-24 Thread korcs
Hi, thanks for your reply. I have tried it out (after editing the .htaccess file I made a restart for apache), but it is still not working. Somehow if I have an image like: It won't be displayed by the browser. The path for the image is: app/webroot/uploads/news/test.jpg :( Best, korcs O

RE: a technical statistics feature?

2007-03-24 Thread Mariano Iglesias
So you are thinking of building such a thing? If so that would be great. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: ht

a technical statistics feature?

2007-03-24 Thread Charlie Chilton
Hello, Firstly many thanks for such a great framework, Just a quick note to see if anyone knows of any statistic function of Cake for performance analysis? For example, when a page is generated, things like the what models were called, how many times they were fetched from the database, how many

Integrating cake with an existing project.

2007-03-24 Thread Toad
Hi All Recently I began to play with cake and I was searching for a tutorial or some practical examples on how to integrate cake with an existing working project in order to ease further development and even shift current functionality to cake. So I have the following questions in mind 1. Wh

Problems with sessions and cookies

2007-03-24 Thread Anton B.
Hi all! I have strange problems with sessions and cookies. It works different in different browsers. Look at this controller: class PagesController extends AppController{ var $autoRender = false; var $components = array('Cookie', 'Session'); var $cookieName = 'myCookie'; var $coo

Re: findAllThreaded - The thread order output is different then expected

2007-03-24 Thread Jeremy Pointer
Message with id 6481 has the parent_id as 6263 it needs to have parent_id of 6469 Humble wrote: > Hi, > >I archived yahoo group messages and trying to display the messages > in thread format as yahoo group does. > >For eg. > >Original order > >Message 1 > Message 409 > M