Re: help for installing cakephp in a linux public_html directory!!!

2010-02-03 Thread Jeff Deroshia
You can't rewrite in userDir directories, since they are already rewritten: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html On Wed, Feb 3, 2010 at 9:20 AM, cherif_Gsoul cherif.sahel...@gmail.comwrote: hi, i need help for installing cakephp in a linux's public_html directory exactly

Re: Ajax reload of an element from a call within the element itself

2009-12-19 Thread Jeff Deroshia
Probably a couple of things. First, I would remove the onclick argument from $html-link() and return false from the jquery function. Second, I think you need to supply a callback function in your $.post() call to update whatever element in the dom you want. Currently, it looks like cake is

Re: Running the action twice?

2009-12-10 Thread Jeff Deroshia
I actually just noticed the same behavior today. For testing an email method, I called it at the end of an index action. I got two copies of the email. Normally, the mail will be sent after filtering through some conditionals, so I don't think it will be a problem. I do have a connect method

Re: How use AUTH for two sections (admin eshop, client admin)

2009-11-30 Thread Jeff Deroshia
I've had to do something similar with users in different scopes being in completely different tables. I handled it by first making sure all admin actions had admin = 1 in their urls. Then in the app_controller's beforeFilter, I checked for an admin action. If found, I initialized the Auth

Re: Self-Join a Model

2009-11-14 Thread Jeff Deroshia
You have a name collision for starters. The class Topic has the name Topic, and its Associations have the same name. You can try changing the aliases like hasMany ChildTopic and belongsTo ParentTopic. Just make sure to keep the className as Topic. Jeff On Sat, Nov 14, 2009 at 1:22 PM,

Re: How and when to use the root vendor folder

2009-11-13 Thread Jeff Deroshia
You will need to use App::import to make those files available. You can load mvc and vendor code in from anywhere as well by creating some arrays in config/bootstrap.php if your app shares code with others. See http://book.cakephp.org/view/36/Additional-Class-Paths Jeff On Mon, Nov 9, 2009 at

Re: CakeFest IV - America - Help us pick a location!

2009-11-13 Thread Jeff Deroshia
If we are voing in the thread, I choose USA East Cost. If not, where do we vote? Jeff On Thu, Nov 12, 2009 at 10:43 PM, Graham Weldon gra...@grahamweldon.comwrote: Hi all, The CakePHP team has been considering the location for the next upcoming CakeFest. We've decided to bring it back

Re: Alternatives to Security Component Authentication with cgi php

2009-09-05 Thread Jeff Deroshia
I was able to find a workaround using mod_rewrite (a module that continues to amaze me with its usefulness). So for anyone else who needs to use the http authentication methods of the Security Component while running php through cgi, here's what I did to get it working: In the .htaccess file in