Re: ajaxHelper::observeField - observes text field onBlur, not onChange

2007-11-18 Thread Lamiunto
Well, according to the Cake 1.1 API, the observeField function has got an array for options, one of those options is "frequency", now that is "The frequency (in seconds) at which changes to this field will be detected." I haven't tested this yet, but have you tried setting frequency to say someth

Re: Sad Question

2007-11-18 Thread Wayne Fay
Sorry for the confusion, I was really responding to the original post, specifically: > So, the question: > Since I have followed every single tutorial I could find on the web > about installing Cake on IIS for the last 3 days (this includes me > testing if I could just put Apache on Windows which

Re: Best way to do this...

2007-11-18 Thread Daniel Hofstetter
Hi Martin, Maybe the variables $controllerPaths, $modelPaths, etc. in app/config/ bootstrap.php are what you are looking for? HTH -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: ajaxHelper::observeField - observes text field onBlur, not onChange

2007-11-18 Thread senser
Actually the question stands: "how to trigger observeField on upkey even"? I found an external JS library www.extjs.com which handles this event nut I'm not sure that's the right way for handle this On Nov 18, 11:14 pm, maschoen <[EMAIL PROTECTED]> wrote: > My recent experience is that y

Re: Newbie: how to access to the first page controller?

2007-11-18 Thread Grant Cox
Edit your /app/config/routes.php, you will see a line like: Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); This means that an empty request is going to the PagesController, action "display" with the parameter "home. So the same as calling / pages/display/ho

Re: Cake Console on cygwin Optionen

2007-11-18 Thread John Waldorff
I didn't think of Xampp being the reason for this bug. This guy has the same issue: http://www.apachefriends.org/f/viewtopic.php?t=23739&highlight=&sid=b72d96b1aea3cf47938f6aec08dcf86a 2007/11/16, phpCoderSince2001 <[EMAIL PROTECTED]>: > > > I have serious crashes with CMD on Windows Vista. > Als

Re: Hit logging in Cake

2007-11-18 Thread Steve Boyd
agreed, just use google analytics. the reports that get generated from it are second to none about 90% of people have javascript enabled, so just round your number up a little bit I work for a medium sized website that gets thousands of hits a day and we exclusively use google for hit tracking

Newbie: how to access to the first page controller?

2007-11-18 Thread powtac
How can I set up a controller which is called in the webroot, for example http://www.example.com. Wich controller is called there? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this gro

Re: Hit logging in Cake

2007-11-18 Thread bingo
hi you might want to checkout this component. http://bakery.cakephp.org/articles/view/tracking-navigation-history-of-a-user It tracks what pages are loaded and save them in a session. But you can easily modify for your need regards On Nov 18, 7:58 pm, Adam Royle <[EMAIL PROTECTED]> wrote: > Ma

Replace for VALID_NOT_EMPTY?

2007-11-18 Thread mbavio
Hi, I was told that VALID_NOT_EMPTY is deprecated and in orden to achive this kind of validation, you have to use: 'nonEmpty' => array( 'rule' => null 'required' => true, 'allowEmpty' => false, 'message' => 'You must to put something

Re: Hit logging in Cake

2007-11-18 Thread Adam Royle
Maybe you should consider one of the many javascript-stats solutions, such as Google Analytics or Mint. Unless you need to access that data inside your cakephp app, or you need to track something in particular, using an external service is a better way to go - that way bots don't enter into your

Re: controller action in beforeSave() ?

2007-11-18 Thread Grant Cox
No, you cannot access ANYTHING from the controller in the model - that's one of the core parts of MVC. What you should do is define a new function in your model - register() This can set some class variable which you can check in your other callbacks, eg: class YourModel extends AppModel {

model subclass vs. behavior vs. something else?

2007-11-18 Thread noah
I have a situation where I have a number of tasks (e.g. installing a toilet, installing new carpet) that share common properties (title, category, etc.) that are stored in the database. There are also properties that are static for some tasks but dynamic for others (e.g. the cost of installing a t

Re: ajaxHelper::observeField - observes text field onBlur, not onChange

2007-11-18 Thread maschoen
My recent experience is that you want to trigger on the upkey event. Ignore the event structure itself. Go to the field and read its value. If you look on the downkey, the value hasn't been updated yet. On Nov 17, 6:03 am, senser <[EMAIL PROTECTED]> wrote: > I can't understand why every time I

Cool Ebook Site Full Of Download Directories

2007-11-18 Thread BigSkipster
Check out this huge ebook download blog. From what it looks like it's been up for two years! I copied the categories so you could get an idea of what it's like! I've never seen anything like it. Tons of Programming Reference books! Academics | Actual Tests Cisco & Others | Algorithics | Animati

Best way to do this...

2007-11-18 Thread mbavio
Hi everyone, I´m trying to solve a problem and I can´t figured out how to do this. It isnt a direct Cake topic, but involves it. I have many web applications for different clients, and all are going to work with Cake. I´ve managed to solve the problem of sharing the Cake´s core, but now I have a

Re: Bake suggestion

2007-11-18 Thread [EMAIL PROTECTED]
I create two solutions: 1. autobake model with all associations included automatically and 2. shell script that genereate list of commands like ... cake bake model A1 auto cake bake model A2 auto cake bake model A3 auto ... cake bake controller A1s scaffold cake bake view A1s scaffold ... I will

Re: Hit logging in Cake

2007-11-18 Thread Dave J
You also need to take into consideration if you'll be using view caching or not. As far as I know, once a view has been cached, beforeRender() won't be called on anymore. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Cake 1.2 Router::url method and 'id' parameter -- bug or feature?

2007-11-18 Thread Gwoo
feature --~--~-~--~~~---~--~~ 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

Using Ajax in an Ajax rendered View

2007-11-18 Thread S.a.W.
Hello, at the moment i'm facing the Problem of using the Cakephp AJAX Helper in an Ajax rendered View. i.e. if i use $ajax->submit(...), cake prints the normal Submit-Input tag but NOT the

Cake 1.2 Router::url method and 'id' parameter -- bug or feature?

2007-11-18 Thread [EMAIL PROTECTED]
Router.php revision 5887. Router::url(array('controller'=>'controller','action'=>'action','id'=>'3')) produces '/controller/action/3' instead of '/controller/action/id:3'. and $this->passedArgs contains [0]=>3 instead of [id]=>3. This is a bug or feature? :-) --~--~-~--~~-

Re: Latest additions to 1.2

2007-11-18 Thread FoxMaSk
Good News, as i have an entire CMS to migrate to cakephp. --~--~-~--~~~---~--~~ 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

Re: controller action in beforeSave() ?

2007-11-18 Thread [EMAIL PROTECTED]
It would be great, but model doesn't have field action :/ Any other ideas how to check action in model? --~--~-~--~~~---~--~~ 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

Re: Hit logging in Cake

2007-11-18 Thread francky06l
In beforeRender (app_controller) maybe. You could make a component that loads your Log model and insert a record in before render. hope this helps On Nov 18, 5:44 am, Rick <[EMAIL PROTECTED]> wrote: > Hi all. > > I have a simple (I hope) question. I want to add some hit logging to > my site. I

Re: mod rewrite or .htaccess issue

2007-11-18 Thread Indian Baker
Hi, Laeffe, Thanks for help yes I too tried something similar and made some progress but there is still a problem with my CSS and JS file loading.. Now when I go to any one of the inner pages.. the CSS and JS files link is wrong.. example if you go to http://72.167.47.152/~hoteljob/users/login an