Re: What about expanding vendors uses ?

2008-10-24 Thread Gwoo
You do not need to make any changes to the Cake the core in order to handle this. It should be as simple as creating controllers for the various pass thru applications and using include to get the output from those applications. Good luck. --~--~-~--~~~---~--~~ You

Re: change MIT license to GPL?

2008-10-23 Thread Gwoo
On Oct 24, 1:30 am, Nate <[EMAIL PROTECTED]> wrote: > You need to chill, Just wanted to give you a taste of your own medicine ;) Sorry if it sounded harsh. I was just trying to make it clear that someone cannot change the license. --~--~-~--~~~---~--~~ You recei

Re: change MIT license to GPL?

2008-10-23 Thread Gwoo
On Oct 23, 11:50 pm, benjam <[EMAIL PROTECTED]> wrote: > On Oct 22, 4:07 pm, Gwoo <[EMAIL PROTECTED]> wrote: > > > If you > > think your changes are that great, you should really think again. > > really? damn, I didn't know that the Cake devs we

Re: change MIT license to GPL?

2008-10-22 Thread Gwoo
Nate, You should stick to coding and leave the licensing questions to the people who actually know what they are talking about. Please see my previous message to learn a little about intellectual property issues. Sincerely, Garrett J. Woodworth JD/MBA 2005 Fordham University --~--~-~--~-

Re: passedArgs help!

2008-10-22 Thread Gwoo
in that case use $this->data['Question']['survey_id'] = $this- >passedArgs['survey_id']; in your controller method --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to

Re: change MIT license to GPL?

2008-10-22 Thread Gwoo
No, only the owner of the copyright can change the license. Depending on the size of the changes you make, you may or may not be able to claim ownership in the copyright. By my estimation, you would have to substantially change more than 50% of every class. That means modifying the logic not just

Re: loginRedirect question re: Closed ticket @ Trac #5057

2008-10-22 Thread Gwoo
I guess I am having a hard time understanding exactly what you expect to happen. Initially, I thought you wanted the login to always redirect to the same location. This would be solved with autoRedirect = false and handling it in the login action. Maybe you could provide a better example, with som

Re: undefined method Sanitize::sql()

2008-10-22 Thread Gwoo
Sanitize was never required to prevent sql injection as the dbo layer handles that already by correctly escaping values. If you want to use Sanitize make sure you App::import('Sanitize') --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: new CakePHP baby born: www.cooreea.com

2008-10-22 Thread Gwoo
I did not take too much time to go through the site, but I really like the idea and how it is coming together. Maybe I could get a ride share for me an my surfboard to NZ from CA... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: passedArgs help!

2008-10-22 Thread Gwoo
$this->passedArgs is available in the view. just pr($this->passedArgs) and see what you get. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.

Re: loginRedirect question re: Closed ticket @ Trac #5057

2008-10-22 Thread Gwoo
reading the comment on the ticket thoroughly would provide the solution"You can set autoRedirect = false, then handle the redirect in the login action" --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" gro

Re: Simple way to deny access to actions in controller

2008-10-15 Thread gwoo
The Auth component denies all actions by default. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: URL Confusion in Auth and Form Helper (create method) in RC3

2008-10-14 Thread gwoo
Sorry, this is not a real bug. We missed the post to the group, so thank you for following the rules. Your usage for $form->create is not correct. It should be $form->create('CoreUser', array('url' => array('controller'=>'CoreUsers', 'action'=>'login'))); --~--~-~--~~~-

Re: Please explain scaffolding changes in RC3

2008-10-14 Thread gwoo
The documentation is not correct. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PR

Re: Bug or API change in Model in RC3: 'dependent' can delete ALL records for associated model

2008-10-14 Thread gwoo
Can you find a changeset that modified the behavior? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: Need help with App::import for Controllers Model

2008-10-10 Thread Gwoo
you need to call $categories->constructClasses(); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: Confusion with $uniqueIds in dbo_source.php

2008-10-10 Thread Gwoo
You have not provided enough information for anyone to help. You need to say what you are expecting, show the results of that. Pasting core code is not of any help without that information. --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-06 Thread Gwoo
Test cases account for at least two thirds of the overall package size. In my opinion, thats a good thing. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php

Re: paid support for cake-php

2008-09-18 Thread Gwoo
http://cakedc.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mor

Re: where is my post

2008-09-18 Thread Gwoo
Maybe you forgot to read the part about this group where it says "The group is moderated to prevent spam, so please be patient if you are new member." http://groups.google.com/group/cake-php/about --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Devs: Plans for Polymorphism?

2008-09-11 Thread Gwoo
There are no plans to add polymorphism. This feature is most definitely something that should be community implemented and supported. If you are having issues with the current implementation, the best thing would be to jump on IRC where the most complete help can be found. --~--~-~--~~

Re: Going crazy trying to get my CakeAMF installation working

2008-09-04 Thread Gwoo
irc://irc.freenode.net/cake-amf #cake-amf is a channel on irc. You can also join, #cakephp for generalized Cake help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email

Re: Going crazy trying to get my CakeAMF installation working

2008-09-04 Thread Gwoo
stop by #cake-amf, if you can its much easier to help from there. Your error could be any number of things, though its generally related to an error with the component. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Going crazy trying to get my CakeAMF installation working

2008-09-04 Thread Gwoo
Sorry Bobby, here is the correct link. https://trac.cakefoundation.org/amf/wiki/tutorial/amf @kiang I do not approve of that code and I do not want to support it. Therefore, I do not want it anywhere near the project that I maintain. Feel free to use it just don't come looking to me for answers w

Re: Going crazy trying to get my CakeAMF installation working

2008-09-03 Thread Gwoo
I dunno about the browser, but if you run the example on https://trac.cakefoundation.org/amf/wiki/amf you should not have any issues --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this gro

Re: Simple is Hard, talked by Rasmus Lerdorf @ FrOSCon 2008

2008-08-29 Thread Gwoo
Since we have spent some time over the last week optimizing, I figured I would run some more tests. I really don't like "ab" as a utility. I have trouble believing that it accurately tells us what is happening. For one, I think mod_rewrite has an effect on the stats. IF someone can prove otherwise

Re: Simple is Hard, talked by Rasmus Lerdorf @ FrOSCon 2008

2008-08-28 Thread Gwoo
One thing we know for sure is that we can always work to improve the speed. However, we will not do it in earnest until the time is right. We have been here before, seen similar things, and come up with the answers. While the hello world is pretty silly, a couple of things strike me right off the

Re: keeping model cache might improve performace

2008-08-18 Thread Gwoo
@stefanski You did not define all the required settings so the config was not created. Specifically, you must specify an "engine" --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group,

Re: CakePHP + Flash

2008-08-18 Thread Gwoo
using $html->url() for images/js/css will give you the wrong path if you are not using mod_rewrite. For anything in the webroot, you should use $html->webroot(); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePH

Re: The First CakePHP Book is out!

2008-07-16 Thread Gwoo
Technically it's not the first, since several have been written in Japanese. But congrats on having the first English book. Wonder if the dev team will get a free copy ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Request for the Devs to take into consideration concerning print

2008-07-09 Thread Gwoo
You have pointed out the problem, but you have not proposed a solution. Therefore, your request falls 50% short. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to ca

Re: view cache engine problem

2008-07-08 Thread Gwoo
View caching is only supported with files. You can use other engines for the core, model, and custom caching, but view caching always needs to create files. This is due to the way files are rendered and included where other caching mechanisms would require different approach. For now, we have chos

Release: Some RC2 Sweetness

2008-06-27 Thread Gwoo
The release of CakePHP 1.2RC2 [1] with several bug fixes and optimizations brings more speed and stability to the 1.2 series. Check out the changelog[2] for the modifications that went into this release. As promised previously deprecated methods were removed and others received errors to be trigge

Re: using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread Gwoo
You are not duplicating the parent constructor. Check out model.php and copy the __construct() definition with all its params. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, se

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Gwoo
On Jun 12, 8:22 am, "Jonathan Snook" <[EMAIL PROTECTED]> wrote: > I would disagree with your assessment of the conversation. Good. > We're debating two key issues: > > 1. The quality and features of the email component as it stands today; and >From the messages I read it was clear the current

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Gwoo
I have to say this thread is a little disappointing. Not because it takes a direct stab at knocking the code in the core, but rather that it shows a spirit that is more about "taking" than it is about "giving". I will never be ashamed to admit that something inside of Cake is not perfect. The poin

Re: RC1 SVN Question

2008-06-09 Thread Gwoo
https://svn.cakephp.org/repo/trunk/cake/1.2.x.x is the stable --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this gr

Re: Strict or Pretty? We're looking for a few good opinions

2008-06-07 Thread Gwoo
The blank check metaphor is excellent. It can be a very slippery slope when heading down the path of non-strict compliance. If we understand the hazards and take precautions hopefully we can prevent sliding down too far. As far as what Nate is getting at, I think I understand him correctly when I

Re: Dispatcher Fatal Error when going through the blog tutorial.

2008-06-05 Thread Gwoo
check out your class name...should be PostsController --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, se

Pure Cake Power in RC1

2008-06-04 Thread Gwoo
We are very happy to announce the latest release of the best and most popular framework for web development. The release marks a great milestone for CakePHP, where we involved more developers, implemented better code coverage (with analysis!), received more contributions from more community membe

Re: Xcache support for multiple CakePHP apps per server

2008-05-31 Thread Gwoo
Submit a ticket. It sounds like it is worth a more in depth look. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from thi

Re: Bake error

2008-05-22 Thread Gwoo
What are the steps to reproduce the error? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Is migrations support planned for Cake?

2008-05-20 Thread Gwoo
Ok, since I wrote CakeSchema, I suppose I could elaborate on some of its uses. I think most people have understood what it was intended to do, though I have not thoroughly read all of the previous messages. The basic idea behind CakeSchema is to have a complete snapshot of your application's data

Re: Distributed Cake

2008-05-20 Thread Gwoo
http://c7y.phparch.com/c/entry/1/art,cakephp-rest --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Trac Downtime

2008-05-19 Thread Gwoo
We are going to be upgrading the Trac site today. Hopefully, this upgrade will make Trac faster and more stable. We are estimating downtime to be about 2 hours. Thank you for your patience. --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: What is the difference in Model::getLastInsertID() and Model::getInsertID()

2008-05-13 Thread Gwoo
use $this->Model->id. You do not need those other methods. The model is set to the proper id after a save. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php

Re: Reusable Elements

2008-05-13 Thread Gwoo
Actually you should not separate the methods. That is the reason for checking this->params. Reduces code and the number of methods actions available to the public. As far as the empty goes, it is problem something else. Try returning anything from the controller action to the element through the

Re: CakePHP design

2008-05-09 Thread Gwoo
No kidding. Thank you for sharing. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL P

Re: OT: Shitty Community

2008-05-08 Thread Gwoo
Benjam, I am not sure where you derive your hostility. Do you have examples that will serve to backup your assertion, so we may teach the "4th graders" how to behave? From what I have seen, the tone of the response often matches the tone of the original message. In general this is a community lis

Re: One more 5875->6311 migration question

2008-05-07 Thread Gwoo
Oh and if you need a stable version try 1.1. Anyway no one on the dev team ever claimed 1.2 alpha or pre beta would not change. Also, you were using params['pass'] incorrectly. It is not meant to be accessed. It has been documented to use passedArgs and namedArgs for quite some time. both are prop

Re: One more 5875->6311 migration question

2008-05-07 Thread Gwoo
https://trac.cakephp.org/wiki/changelog/1.2.x.x --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send emai

Re: Missing PaginatorHelper Method in View

2008-05-06 Thread Gwoo
The PaginatorHelper is added automatically when you call Controller::paginate(). So, since you have it wrapped in a control structure it is not always called. For your case, adding it to the helpers array would solve your issues. --~--~-~--~~~---~--~~ You received t

Re: Something on the top of CakePHP

2008-05-06 Thread Gwoo
On May 6, 8:57 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > Someday we will meet and talk about semantics and winning debater's points > :) CakeFest Argentina, Dec 2-5. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Something on the top of CakePHP

2008-05-06 Thread Gwoo
> > For me censorship is not the solution. Good thing its a mailing list > and people don't have to look at it on the GGroup interface. I do not believe in censorship either, which is why i left the thread open. I was looking for some reaction and if people consider it helpful then I will leave i

Re: Something on the top of CakePHP

2008-05-06 Thread Gwoo
> > FWIW - I differ here - a prime motivator for writing open source is > "scratching your own itch" I have no problem with scratching your own itch if it also has application to the greater community. For instance, I have been working on an Actionscript project that I wanted to get up on Ohloh.

Re: Is the documentation at book.cakephp.org open source?

2008-05-05 Thread Gwoo
The book is open. Anyone is free to contribute. The content is owned by the Cake Software Foundation and contributed by loyal members of the CakePHP community who value collaboration and central location for information and resources related to the CakePHP project. Therefore, you cannot reproduce

Something on the top of CakePHP

2008-05-05 Thread Gwoo
Sliv, thank you for being a voice of reason and contributing to CakePHP in a great way. I am sure Felix would have the same message, if he were paying attention. For me, it is time to remove this thread. It is not related to CakePHP support which is the mission of the group. Also, please do not r

Re: the same name cannot be given to shell and model in cakephp 1.2.0_6718

2008-04-26 Thread Gwoo
Bug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, vis

Re: Changes at the top

2008-04-16 Thread Gwoo
I will be posting something as soon as I receive a response from PhpNut. I hope everyone realizes that the core team is very solid. That PhpNut was an integral part, but not the only part. There are many capable developers in this community who deserve respect. I have seen this community grow trem

Re: Changes at the top

2008-04-16 Thread Gwoo
of guy and we have to respect that. > * _nate_: still having ego problems? Nate most definitely has opinions and an ego. I think we all do. The important thing is what you do with that ego and whether you let that ego get in the way. > * gwoo: Very nice and diplomatic approach! I have one goal

Re: CakeAMF on a shared host?

2008-04-14 Thread Gwoo
If you look at the code of the plugin you will see that a lot of work has already gone into decoding AMF messages. With the AMF specification being released it should make it easier to work on, though I must say the osflash site has more info from the developers who reversed engineered it. I put t

Re: CakeAMF on a shared host?

2008-04-11 Thread Gwoo
> The reason I ask something that even to me sounds exceptionally stupid > is that I can't really believe that CakeAMF was purposely built to > only run on custom PHP-installs... The only thing that "sounds exceptionally stupid" is the tone of your message and your perceived attitude. Let me re-p

Re: Webroot folder in Plugins

2008-04-10 Thread Gwoo
submit a patch with the relevant test case. --~--~-~--~~~---~--~~ 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 t

Re: cache ignores prefix (after #6323 fix)

2008-04-09 Thread Gwoo
Check the test cases. Add some for your situation. If the tests pass for you then something else is messing with the prefix. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, sen

Re: Webroot folder in Plugins

2008-04-09 Thread Gwoo
/plugin/plugin_name/vendors/css/your_css.css $html->css('/plugin_name/css/your_css.css'); The only thing that is not added yet is image support. I suppose this could happen easily. Have a look at the test cases with the changeset. They might help to explain how things work a little bit more. B

Re: Is it possible to create a true REST application yet?

2008-04-04 Thread Gwoo
Nate did a REST talk at CakeFest. We just need to get the slides and video --~--~-~--~~~---~--~~ 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 unsubs

Re: Let's help each other!

2008-04-01 Thread Gwoo
irc://irc.freenode.net/cakephp There are currently no projects awaiting approval on cakeforge. --~--~-~--~~~---~--~~ 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@googlegrou

Re: Cakephp 1.2 on PHP 4.3.10/Apache/2.0.49 (Fedora)

2008-03-27 Thread Gwoo
http://domain.com/staging_web/index.php/pages/home is the correct url. --~--~-~--~~~---~--~~ 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 fr

Re: 1.2 EmailComponent Not Working With SMTP?

2008-03-03 Thread Gwoo
Can you run the email test case? Have you checked any of the current tickets? --~--~-~--~~~---~--~~ 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 unsubsc

Re: CakeForge questions

2008-03-03 Thread Gwoo
Actually, this feature is not setup on the CakeForge server. In order to have the subdomains we would need another server for the hosting, so this is a bit beyond our means at the moment. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: A listing of all themes?

2008-01-28 Thread Gwoo
$Folder = new Folder(VIEWS . 'themed'); list($themes, $files) = $Folder->read(); should work. --~--~-~--~~~---~--~~ 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@googlegrou

Re: ClassRegistry bug?

2008-01-28 Thread Gwoo
You must have unique aliases in for your associated models. If you search the tickets you will find that this has been reported and closed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to

IBM Series updated for 1.2

2008-01-22 Thread Gwoo
Just a note to let everyone know that the IBM articles have been updated to work with CakePHP 1.2. You can check out the updated series here http://www.ibm.com/developerworks/views/opensource/libraryview.jsp?search_by=cook+web+sites+CakePHP Happy Baking. --~--~-~--~~~-

Re: upgrading procedure?

2008-01-08 Thread Gwoo
you could easily do that too. --~--~-~--~~~---~--~~ 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 PROTE

Re: Problem with import in test fixtures?

2008-01-08 Thread Gwoo
Robby, Come to IRC, its much more fun than having to send 4 messages in 2hrs with no response. #cakephp, irc.freenode.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send e

Re: upgrading procedure?

2008-01-08 Thread Gwoo
Robby, Good explanation and advice. Another option is use the bootstrap.php. In there, you can point to your model/view/controller directories which could be located anywhere in your file system. This would all you to separate them out completely from the main app directory. When you need to upgr

Re: upgrading procedure?

2008-01-07 Thread Gwoo
Baz, I admit I was too quick to respond after seeing the response by cakeKicks. I misinterpreted what you said and I must be a little over sensitive to the issue. We try extremely hard, not only to produce an easy to use framework, but to make it easy to keep updated. We put in the extra effort to

Re: upgrading procedure?

2008-01-07 Thread Gwoo
Baz, So, you like FUD with your Cake? You are not helping anyone with your comments. They are not constructive or accurate. I'm not even sure why you wasted your breath. But I suppose you are entitled to your opinion, just like I am entitled to mine. cakeKicks, What are you trying to upgrade fro

Re: upgrading procedure?

2008-01-06 Thread Gwoo
there should be nothing in the app directory that would overwrite your current app. --~--~-~--~~~---~--~~ 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 u

Re: Using Multiple Models in a Controller?

2008-01-06 Thread gwoo
No you do not need var $uses if you have associations. $this->Employee- >Customer will work just fine. --~--~-~--~~~---~--~~ 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@go

Re: ACL automatically creates posts

2008-01-04 Thread gwoo
its a magic method. Cake can do findBy and findAllBy you should not need to instantiate a new Aro. $this->Acl->Aro should be enough. That article needs to be updated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca

Re: ACL automatically creates posts

2008-01-04 Thread gwoo
when an ARO is tied to a model record there should not be an alias. The ARO node should be accessed with its model foreignKey. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, s

Re: Why doesn't Find* return a group of model objects?

2008-01-04 Thread gwoo
Everyone is entitled to their opinion and their choice of frameworks. --~--~-~--~~~---~--~~ 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 fro

Re: Why doesn't Find* return a group of model objects?

2008-01-04 Thread gwoo
Speed, simplicity, clarity. We feel that a model object in the view will only result in misuse. We have helpers that allow you to handle the arrays any way you need, as well as various callbacks to allow you to format the data that comes back from the model. The benefits to having a model object a

Re: Sharing CSS/JS

2008-01-04 Thread gwoo
vendors/css --~--~-~--~~~---~--~~ 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 PROTECTED] For more opt

Re: Cake with MySQL 5, PHP5 and PHP suexec?

2008-01-03 Thread Gwoo
Noting in Cake needs recompiling. Sounds like a problem with your host. You should setup a local environment and you should not have any problems. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To p

Re: Cake with MySQL 5, PHP5 and PHP suexec?

2007-12-31 Thread Gwoo
This is related to the cli version not being compiled with mysql support. There are a few other posts on this group. Have a search and see what you can come up with. Normally, people encounter this problem with Bake. --~--~-~--~~~---~--~~ You received this message b

CakeFest

2007-12-27 Thread Gwoo
We hope everyone had a great holiday. We wanted to let you know about some plans for the new year. One of the most exciting will certainly be CakeFest. We hope you can join us. Please post comments on the bakery. Here is the announcement: http://bakery.cakephp.org/articles/view/cakefest-2008-02

Re: Shouldn't the Text Helper use multibyte strings instead?

2007-12-15 Thread Gwoo
The plan with mb is to add support for it through the String class. If mb is not available the String class will handle it on its own. Several of the needed string functions exist and tests cover the current functionality. Then, the String class can be implemented in the TextHelper, among other th

Re: Shouldn't the Text Helper use multibyte strings instead?

2007-12-15 Thread Gwoo
Does every php install have mb_substr() ? --~--~-~--~~~---~--~~ 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

Re: Access to related model data from Behavior?

2007-12-15 Thread Gwoo
data is cleared out at the end of the Model::save(), so afterSave does not get it. What I do is set the data for the related model in the beforeSave, then in the afterSave the related model data is available and can be saved on its own. --~--~-~--~~~---~--~~ You rec

Re: Unit testing in 1.2

2007-12-14 Thread Gwoo
What revision do you have? The fix should be in anything after pre beta. --~--~-~--~~~---~--~~ 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

Re: CakePHP 1.2. pre-beta with CakeAMFPHP

2007-12-13 Thread Gwoo
I have not been working too much on the CakeAMFPHP mainly because I wanted something simple and easy to move around. Plus, with the new AMFEXT, it made sense to write something new. So, we put together the AMF plugin. AMFPHP is not required and working with AMF is a little more Cake. You can find

Re: PHP Fatal error: Class 'Shell' not found in .../cake/console/libs/bake.php on line 37

2007-12-11 Thread Gwoo
http://cakephp.org/screencasts Setting up the console should help. --~--~-~--~~~---~--~~ 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

Re: Saving Date and Time NOT in the Model/Database (cleanUpFields not working)

2007-12-11 Thread Gwoo
What does it say cleanUpFields() was replaced by? Maybe you could use that --~--~-~--~~~---~--~~ 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 unsubs

Re: Function aliases will be deprecated?

2007-12-10 Thread Gwoo
where does it say that? --~--~-~--~~~---~--~~ 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 PROTECTED]

Re: Depcrecation

2007-12-08 Thread Gwoo
You can expect all deprecated functions to be removed after the beta release. Some have already been removed. You can find the list in the changelog on https://trac.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Multiple DBs association

2007-11-30 Thread gwoo
there is a lot of information on this google group. You can do associations across multiple datasources. The only thing that is a little tricky is the HABTM since a third table is involved. BUt you can always create a model for that too and specify its db config. That is also discussed in previous

Re: How do I access variables set in App Controller in View?

2007-11-26 Thread Gwoo
beforeRender is usually better for that stuff than beforeFilter because its possible that you are overwriting user somewhere in you controllers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To pos

Re: Model.index.field notation gone?

2007-11-26 Thread Gwoo
Can you paste some sample code? Check out the helper.test and form.test to see if your case is covered. --~--~-~--~~~---~--~~ 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@g

<    1   2   3   4   5   6   7   >