Re: html->submit() does not exists?

2007-06-15 Thread gwoo
@Mech7 You are using the helper incorrectly. if you use $form->input() then you add the option for the error message. if you are using the individual form helper methods like textarea echo $form->textarea('field'); echo $form->error('field', 'Error in field'); --~--~-~--~~

Re: cake.generic.css path hack

2007-06-26 Thread gwoo
If you do not have mod_rewrite AND you have do NOT have your DocumentRoot set to the "webroot", you are opening the door to your code. This is a security risk and should NEVER be used in a production environment. --~--~-~--~~~---~--~~ You received this message bec

Re: ACL trouble: Listing AROs that have a 'read' access to an ACO

2007-06-26 Thread gwoo
which version of Cake? --~--~-~--~~~---~--~~ 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:

2007-06-26 Thread gwoo
in php5 short tags are disabled by default. You need to change the php.ini. --~--~-~--~~~---~--~~ 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: cake 1.2, caching elements, a suggestion

2007-06-26 Thread gwoo
there is an enhancement ticket for this. --~--~-~--~~~---~--~~ 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: Home page to posts

2007-06-26 Thread gwoo
do you have any code to show? --~--~-~--~~~---~--~~ 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 PRO

Re: Graham Bird's AJAX tutorial in 1.2.x.x

2007-06-27 Thread gwoo
The TohDoh done by Crazylegs is really well done. I would not waste my time on a two year old tutorial that was not that well written to begin with. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: bootstrap.php woes

2007-06-27 Thread gwoo
if you moved /cake anywhere other than where it was in the downloaded package you need to change the CAKE_CORE_INCLUDE_PATH in the /app/ webroot/index.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" g

Re: PHP functions file_exists, is_executable and shell_exec fails in CakePHP

2007-06-27 Thread gwoo
Nothing Cake does would affect the file system access. The mostly likely cause of the error is permissions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake

Re: Bad choice of Variable Name "$db"

2007-06-27 Thread gwoo
FLAME ON um how about "register_globals off" do you know how php works? $db is a temp variable in the model and various other classes. It is not a global var. Geesh, how about you sit back for a second and think about your problem before getting all up in a huff about it. FLAME OFF --~--~---

Re: Decode GWT post into $_POST

2007-06-27 Thread gwoo
you dont need to sanitize. I can see the beforeFilter being about 4 lines of code max. Seems pretty painless to me --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email

Re: Decode GWT post into $_POST

2007-06-27 Thread gwoo
Data is escaped properly when it is inserted into the db which prevents sql injection. You then escape output so to remove unexpected/ malicious output. 1. function beforeFilter() { 2. if(isset($this->params['form']['json'])) { 3. $this->data = json_decode($this->params['form'

Re: XML based ACL - Possibility?

2007-06-29 Thread gwoo
i would say performance and flexibility are the biggest concerns. Xml is nicely structured and the tree could work easily with ACL, but if you had a 100 records it might slow things down. Also, managing 100 records in an xml file may be annoying. That said, you could run some tests. I would creat

Re: Cake 1.2alpha path question

2007-06-29 Thread gwoo
There is nothing different in Cake 1.1 and Cake 1.2 with regards to dispatch. Did you uncomment line 42 in core.php? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send emai

Re: SQL Server and Bake

2007-06-29 Thread gwoo
your php cli needs to support mssql. --~--~-~--~~~---~--~~ 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 [EM

Re: difference between $this->data and $this->set('data')

2007-06-30 Thread gwoo
$this->data is also available in your view in Cake 1.2. It is a copy of $this->data that is in the controller. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to c

Re: php json_decode not working when microtime comment is appended to json output

2007-07-01 Thread gwoo
please search for things like this. Configure::write('debug', 0); --~--~-~--~~~---~--~~ 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: how to cache all the view in call ?

2007-07-01 Thread gwoo
http://manual.cakephp.org/chapters/caching --~--~-~--~~~---~--~~ 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

Re: checkbox 1.2?

2007-07-01 Thread gwoo
did you look? --~--~-~--~~~---~--~~ 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

Re: optgroup: Can someone give me an example

2007-07-02 Thread Gwoo
This is from the Bakery code. $this->set('parents', $this->Category->generateList(null, null , null, null, null,'{n}.ParentCat.name')); The last param is the what you want to group on and will have that label. --~--~-~--~~~---~--~~ You received this message beca

Re: Can't use components relying on startup() in beforeFilter

2007-07-05 Thread Gwoo
what is $this->reg() ? --~--~-~--~~~---~--~~ 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: Calling Cake script from console

2007-07-05 Thread Gwoo
search cli dispatcher. --~--~-~--~~~---~--~~ 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: Site Administration

2007-07-06 Thread Gwoo
http://cakephp.org/screencasts I did two screencasts on setting up the console in 1.2. One is for *nix and the other windows. Check them out. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To pos

Re: ObserveField()? What can it observe?

2007-07-06 Thread Gwoo
On Jul 6, 2:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi there, > > Regarding ObserveField()? What can it observe? > > For example, can observeField() observe DIVs without forms in them? no. you need a form field. > > Perhaps I'm missing something. And I know we've discussed th

Re: change view of scaffolding

2007-07-25 Thread gwoo
You could also have a look here: http://manual.cakephp.org/chapter/scaffolding --~--~-~--~~~---~--~~ 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 unsu

Re: Model::beforeValidate -- bug or feature? :)

2007-07-25 Thread gwoo
you should use Model::invalidate() in beforeValidate. Otherwise use beforeSave and return false if you need to stop execution. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group

Re: Using Cake with Zend Session or Cake without any Sessions?

2007-07-26 Thread gwoo
Add Zend to your vendors directory. Write your own SessionComponent. use vendor('Zend/Session', 'Zend/Auth'); or whatever the path to the libs are. Create the methods you need like read, write, destroy. --~--~-~--~~~---~--~~ You received this message because you a

Re: rdBloggery and sorting problem

2007-07-26 Thread gwoo
the code in rdBloggery is pretty ancient. Been a little busy to update it. The pagination in rdBloggery is different from 1.2 though they may look similar. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: Cake PHP running dead slow

2007-07-30 Thread gwoo
There are two reasons to avoid $uses and loadModel in your code. 1. performance: Extra memory will be consummed if you have var $uses and the association in your model. loadModel simply checks if the class exists and includes it if it does not, so the overhead here is minimal. But then you need t

Re: AssetPackager for CakePHP

2007-07-30 Thread gwoo
I would suggest using the console as I have it setup in the screencasts. This allows you to do everything from the current working directory, which in most cases is the app. From there you can figure out relative paths. --~--~-~--~~~---~--~~ You received this mess

Re: Model::saveField not updating

2007-07-30 Thread gwoo
it would be $this->ResumeCredit->id and if there is no record found then saveField will do an insert. --~--~-~--~~~---~--~~ 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

Re: Building Facebook app on CakePHP

2007-08-03 Thread Gwoo
what more do you need? --~--~-~--~~~---~--~~ 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: Baking in cakePHP 1.2

2007-08-07 Thread Gwoo
http://cakephp.org/screencasts there is one for "Setting up the console". Once it is setup properly just run "cake bake help" for more information. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: Auth1.2 component not showing methods.

2007-08-10 Thread Gwoo
the Auth component is not moving anymore --~--~-~--~~~---~--~~ 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: Auth1.2 component not showing methods.

2007-08-13 Thread Gwoo
You you want to check on based on the action then you should use the controller based auth. Model based auth gets the action based on how the action is mapped to the CRUD. So, in the model that is all you deal with, create, read, update, delete. --~--~-~--~~~---~--~--

Re: What's the view cache story in cake 1.2?

2007-08-13 Thread Gwoo
var $helpers = array('Cache'); --~--~-~--~~~---~--~~ 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 PR

Re: html->link and router->url adding /bare/ to the url if action is index

2007-08-13 Thread Gwoo
svn update --~--~-~--~~~---~--~~ 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 op

Re: BuiltWith.com Detects CakePHP - But How?

2007-08-15 Thread Gwoo
Session Key? --~--~-~--~~~---~--~~ 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

Re: debug 0 in CakePHP 1.2 -> blank page

2007-08-15 Thread Gwoo
The difference is this: Debugger the debugger class is used on the default homepage. I have made changes to the latest 1.2 so the white page does not happen. But with Debug 0 and the default homepage in previous 1.2 revisions, you will see a white page, since the Debugger will not be loaded. --

Re: Solved with Hack: IIS issues + cake 1.2 and no mod_rewrite stuff

2007-08-20 Thread Gwoo
this is not the way to set the base in 1.2. If you are using the current nightly, you can set Configure::write('App.base', '/path/to/index'): in your core.php Cake will use this path without doing anything tricky. If you want to make your app more portable, then use Configure::write('App.baseUrl',

Re: I Just Want To Say ThanX

2007-08-29 Thread Gwoo
Baz, You are more than welcome and we really appreciate your kind remarks. I added your RSS feed. Keep up the blogging. And, thank you for being a valuable part of the community. Bake on. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: 1.2 resources

2007-08-29 Thread Gwoo
Im happy to see you found my OCPHP presentation. I tried to sum up most of the features for 1.2, but the presentation was already 2 hours long, so I left some things out. Great article. Thanks for putting it together. It may find its way to the cakephp.org homepage soon. --~--~-~--~~

Re: Database Migrations ala RoR

2007-09-10 Thread Gwoo
Joel Moss also wrote a migrations that integrates with 1.2. http://joelmoss.info/switchboard/blog/2583:Migrations_v33 One of the best things about Cake is how easy it is to drop these third party packages into vendors. The Cake 1.2 core has a alpha version of the CakeSchema that John refers to. T

Re: Grab parent ARO from ACL

2007-09-10 Thread Gwoo
$this->Acl->Aro->findByParentId() --~--~-~--~~~---~--~~ 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

Re: 1.2 ready for prime time?

2007-09-10 Thread Gwoo
@Ismael Then why are you still on this list? Or why even bother responding? I think the expression is "if you dont have something nice to say, dont say it at all" @Troy http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/ http://www.cakephp.org/files/OCPHP.pdf --~--~--

Re: Prepping for 1.2 AuthComponent

2007-09-10 Thread Gwoo
nope thats all you need. --~--~-~--~~~---~--~~ 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 PROTECTE

Re: The forbidden hack? | An attempt to redesign Cake View handling

2007-09-11 Thread Gwoo
make your own view class. then set $this->view = 'MyCustomClass'; in your controller --~--~-~--~~~---~--~~ 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

Re: The forbidden hack? | An attempt to redesign Cake View handling

2007-09-11 Thread Gwoo
/app/views/my_custom_view.php $this->view = 'MyCustomView'; MyCustomView extends View --~--~-~--~~~---~--~~ 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.co

Re: Doxyfile

2007-09-11 Thread Gwoo
There is nothing special about the Doxyfile used to generate the API. --~--~-~--~~~---~--~~ 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 f

Re: Doxyfile

2007-09-11 Thread Gwoo
feel free to disagree, but here is what I know... 1) phpnut has never built the API with doxygen 2) I sent him the Doxyfile 3) I build the API given those three things, it leads me to believe that my initial statement was indeed true. --~--~-~--~~~---~--~~ You r

Re: Form helper arbitrary titling

2007-09-11 Thread Gwoo
The default is for a New record. This is not arbitrary as it follows the defaults used by create() and other methods. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send ema

Re: Ban ban ban ban

2007-09-25 Thread gwoo
I wrote a message to the google group for enhancements about a 3 months ago that asked for the feature to moderate "Pages" and "Files". Still nothing. So, unfortunately we are stuck policing this this stuff on our own for now. Thanks for putting in the effort Christopher. It is much appreciated. B

Re: Why are all properties public?

2007-10-01 Thread gwoo
http://www.google.com/search?q=getters%20and%20setters%20are %20evil&sourceid=mozilla2&ie=utf-8&oe=utf-8">getters and setters are evil. Cake Conventions are below and allow us to make the change to access modifiers when the time is right. var $__private var $_protected var $public --~--~---

Re: Common Startup controller

2007-10-01 Thread gwoo
copy app_controller.php to /app/app_controller.php --~--~-~--~~~---~--~~ 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, sen

Re: Common Startup controller

2007-10-01 Thread gwoo
copy app_controller.php to /app/app_controller.php --~--~-~--~~~---~--~~ 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, sen

Re: Using dashes instead of underscores in URLs

2007-10-01 Thread gwoo
@Wayne good try, but that is perhaps one of the worst ideas I have seen in a while @Joel using the router is the proper way to achieve your goes. But obviously you could end up with a lot of routes and who really wants to write a new route every time you add an action. That said, there is an enha

Re: CakeSWXPHP needed only to expose all controllers and methods?

2007-10-01 Thread gwoo
use beforeFitler --~--~-~--~~~---~--~~ 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 m

Re: Objects instead of arrays

2007-10-03 Thread gwoo
have you searched this group? --~--~-~--~~~---~--~~ 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 PRO

Re: Objects instead of arrays

2007-10-03 Thread gwoo
ok, i had to dig a bit deeper http://groups.google.com/group/cake-php/browse_thread/thread/fc7ef676f60ab03/81270d96a20cb44e?lnk=gst&q=gwoo+objects&rnum=4#81270d96a20cb44e --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Objects instead of arrays

2007-10-03 Thread gwoo
function beforeRender() { $this->data = Set::reverse($this->data); } --~--~-~--~~~---~--~~ 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 unsubscri

Re: change model $useTable on the fly

2007-10-03 Thread gwoo
do a search in this group for setSource --~--~-~--~~~---~--~~ 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: 1.2.5750?

2007-10-12 Thread Gwoo
Yeah, hopefully. But in reality, there are already a lot of people using the 1.2 branch which currently stands at 5750. There have been enough changes to new features since the last release revision to warrant an update. Also, it was a good excuse to use the new layout --~--~-~--~---

Re: migrating from 1.1.6 to CR1 (1.1.17)

2007-10-13 Thread Gwoo
review the release annoucnments. and then just copy your app alongside the new cake directory. There are no documents on it cause it is really that simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: scaffold Component : Scaffold::__scaffold

2007-10-15 Thread Gwoo
once you add var $scaffold you should not do anything else. --~--~-~--~~~---~--~~ 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 g

Re: diagrams for cakephp: a case for UML?

2007-10-15 Thread Gwoo
UML --~--~-~--~~~---~--~~ 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 options,

Re: Error when baking a new project with CakePHP 1.2

2007-10-15 Thread Gwoo
what does phpinfo() show? --~--~-~--~~~---~--~~ 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

Re: Issue on IIS

2007-10-15 Thread Gwoo
what version of cake are you using? --~--~-~--~~~---~--~~ 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 [EMA

Re: Update gone wrong.

2007-10-16 Thread Gwoo
did you try looking at the /app/config/core.php in the latest nightly? --~--~-~--~~~---~--~~ 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: Update gone wrong.

2007-10-16 Thread Gwoo
could be a problem with the nightly --~--~-~--~~~---~--~~ 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 [EMA

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
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: 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-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: 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: book.cakephp is down

2008-10-25 Thread Gwoo
#cakephp on irc.freenode.net is the place to report. We are working on the problem. Should be back up very soon. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to c

Re: Is the cookbook broken, or is it just me?

2008-10-25 Thread Gwoo
We are working on fix. Should be back up soon. --~--~-~--~~~---~--~~ 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

Re: Disabling Cake's error handling for CLI commands.

2008-10-25 Thread Gwoo
you can use Debugger::output('txt') --~--~-~--~~~---~--~~ 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

Re: How to use Components in Views?

2008-10-25 Thread Gwoo
Actually, it is not simple because it would be wrong to use a component in the view. This is why you cannot find the information in the docs. If you need some data you can set it in the beforeRender callback. --~--~-~--~~~---~--~~ You received this message because y

Re: Cake RC3 error messages

2008-10-27 Thread Gwoo
Turn off E_STRICT. --~--~-~--~~~---~--~~ 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 mo

Re: Cake roadmap - Gwoo's Japan talk

2008-10-30 Thread Gwoo
The focus right now is on finalizing 1.2 and we'd like to keep it that way until there is an official "stable" release. At that point the roadmap for 1.3 and 2.0 will be discussed and put into place. The basics are there and anyone is free to contribute ideas in the form of RFC or enhancement tic

Re: Question about Data Sanitation in CAKEPHP

2008-10-30 Thread Gwoo
The DBO layer handles proper escaping of your data to prevent SQL injection. You do not need to use Sanitize unless you are doing something out of the ordinary. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP

Re: A way to lost your session in Cake 1.2RC3 :-)

2008-11-10 Thread Gwoo
You may want to try setting Security.level to medium in config/core.php --~--~-~--~~~---~--~~ 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 fr

Re: Model : Find : Conditions not working properly?

2008-11-10 Thread Gwoo
> Current Code:: > return $this->find( > 'all', > array( > 'conditions'=>array( > 'DATE(Post.date)' => '>= '.$date, > 'DA

Re: exclude form helper markup?

2008-12-21 Thread Gwoo
http://live.cakephp.org/shows/view/4 --~--~-~--~~~---~--~~ 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 cake-

Re: rss reader

2008-12-22 Thread Gwoo
majna, very close. syntax is slight different App::import('Core', 'Xml'); $wordpress = new XML('http://wordpres_rss_url_here); pr($wordpress->toArray()); //notice toArray instead of Set::reverse() --~--~-~--~~~---~--~~ You received this message because you are su

Re: cake_1.1.20.7692.zip console missing?

2008-12-23 Thread Gwoo
Cake 1.1 did not have a console :) Try 1.2 --~--~-~--~~~---~--~~ 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

the Gift of 1.2 Final

2008-12-25 Thread Gwoo
oel Perras has put in a great amount of work and coding CakePHP in TextMate just got a lot easier thanks to him. For all these great resources and more, head on over to the downloads[12] page. We hope you enjoy the big present and the few goodies. Have a great holiday season. - Gwoo, Nate, PhpN

Re: Cakephp on MAMP, Mac OSX

2008-12-26 Thread Gwoo
mod_rewrite needs to be enabled and AllowOverride All in the httpd.conf --~--~-~--~~~---~--~~ 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 fr

  1   2   3   4   5   6   7   >