AW: Non alphanumeric chars breaks $validate error messages

2008-10-08 Thread Liebermann, Anja Carolin
Do you use UTF-8? German has also some special characters (öäüß) and I have no problem there, but I started my application completely in UTF-8 ( code and database) Anja -Ursprüngliche Nachricht- Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED]

Avoid requestAction

2008-10-08 Thread Liebermann, Anja Carolin
Hello, I have read the article by Mark Story: http://mark-story.com/posts/view/reducing-requestaction-use-in-your-cakephp-sites-with-fat-models So now I want to use that. In some cases it works already very fine, but I am not sure if I can place an method in my model (which ist growing fatter d

Re: Javascript causing Ajax form to submit, but not all ajaxy like I want

2008-10-08 Thread Chez17
Nate, what I meant was that I couldn't get it working ONLY using cake's ajax helper. I used raw prototype code. I understand cake has an ajax helper, I have utilized it for other things, I just couldn't getting it to work for this one. On Oct 8, 8:53 pm, Nate <[EMAIL PROTECTED]> wrote: > http:/

Re: newbie question

2008-10-08 Thread techiguy
yes ofcource u can use with XAMPP on windows. i am also working on that with out any problem. before u start make sure u have checked the configuration of your local server http://book.cakephp.org/view/333/A-Note-on-mod_rewrite hope this helps you On Oct 9, 7:14 am, JRough <[EMAIL PROTECTED]>

Re: Non alphanumeric chars breaks $validate error messages

2008-10-08 Thread David C. Zentgraf
Just tested with some UTF-8 Japanese and it works, so it's not a problem in general. I'd investigate along the same lines as this recent thread: http://groups.google.com/group/cake-php/browse_thread/thread/0ea507c127fd2ab9 Try a simple echo "Descripción"; from anywhere. Does that display correc

Re: Get data from another model

2008-10-08 Thread Bookrock
Thanks stockit, It working for me On Oct 9, 5:43 am, Stockit-rehanw <[EMAIL PROTECTED]> wrote: > I'm new to cake too but read this in a book and elsewhere... > > try $this->City->find('list') - its made to render for select lists > > outputs... > > 1 => London > 2 => New York > > readhttp://book

newbie question

2008-10-08 Thread JRough
I want to try out Cakephp. Do you know if I can use it with XXAMP on Windows just for testing or do I have to install it on a real server? thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To

Re: Confusion with $uniqueIds in dbo_source.php

2008-10-08 Thread Brenton B
So ... no one knows, hey? shucks. On Oct 7, 2:58 pm, Brenton B <[EMAIL PROTECTED]> wrote: > Why are we restricting rows in dbo_source.php on line 841? > > if ($type == 'hasAndBelongsToMany') { > $uniqueIds = $

Re: Non alphanumeric chars breaks $validate error messages

2008-10-08 Thread [EMAIL PROTECTED]
Actually it happens everywhere and I hadn't noticed it. For example: sort('Descripción');?> The cell comes out empty when the page is rendered. On Oct 8, 9:15 pm, "R. Davila" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the $validate array to setup validation and error messages in > the mod

Non alphanumeric chars breaks $validate error messages

2008-10-08 Thread R. Davila
Hi, I'm using the $validate array to setup validation and error messages in the model. Given a field called "description", the following works perfectly: $validate = array( 'description' => array( 'rule' => array('minLength', 20), 'message' => 'Description must be at least 20 characters'))

Re: Javascript causing Ajax form to submit, but not all ajaxy like I want

2008-10-08 Thread Nate
http://book.cakephp.org/view/208/AJAX And I quote: "The AjaxHelper utilizes the ever-popular Prototype and script.aculo.us libraries for Ajax operations and client side effects." On Oct 8, 7:40 pm, Chez17 <[EMAIL PROTECTED]> wrote: > In case anyone wants to know. I did get this to work but I had

Re: Get data from another model

2008-10-08 Thread Stockit-rehanw
I'm new to cake too but read this in a book and elsewhere... try $this->City->find('list') - its made to render for select lists outputs... 1 => London 2 => New York read http://book.cakephp.org/view/449/find for more On Oct 8, 10:45 pm, Bookrock <[EMAIL PROTECTED]> wrote: > Hi, > > I have tw

Re: How do you make line breaks appear in views?

2008-10-08 Thread Turnquist, Jonah
The best way to look up php functions is by using the search engine on the php site at http://us.php.net/ it's a very well written manual. This is what comes up when you look up nl2br() http://us.php.net/manual/en/function.nl2br.php Also, this is the main resource that I learned php with: http:

Re: Javascript causing Ajax form to submit, but not all ajaxy like I want

2008-10-08 Thread Chez17
In case anyone wants to know. I did get this to work but I had to use the prototype library and javascript. I couldn't get it working within cakes own features. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP

Re: Install cake on leopard, but not the docroot

2008-10-08 Thread David C. Zentgraf
Yes you can, but you'll have to tell Apache that it should care about ~/cakeSites as well. You'll have to create a new Directory or VirtualHost directive in a config file in /etc/apache2/users. Is there a particular reason you want to go through this trouble? :-) On 9 Oct 2008, at 03:43, dot

Re: Encryption/Decryption of data

2008-10-08 Thread David C. Zentgraf
Hi Bernhard, Joel, Thanks for the tips. A possible solution for my problem has been dawning on me... Let me explain my scenario: Users of the system engage in what I'll call 'transactions' with each other. A user can have different roles in the transaction, like e.g. Sender or Receiver. Th

Re: How to exclude a field from inserts and updates

2008-10-08 Thread R. Davila
teknoid wrote: > While this works fine, and makes your app more secure... the real > question is why are you passing fields that do not need saving to the > controller? or why do you even have them in the form? I'm not. I used "cake bake" to make a skeleton controller and view. CakePHP automatica

Re: Another HABTM issue : row with same Id getting over-written

2008-10-08 Thread Brenton B
Yes. That was one of the first things I tried because I had extra field info on the join table. As the dbo_source.php code shows, it's just not allowing other ids based on the foreign/join keys. That's the part I'm confused about ... why not?? If the row is duplicated it shows it, and thus also r

Re: Another HABTM issue : row with same Id getting over-written

2008-10-08 Thread abba bryant
Have you tried creating an id field in the join table and setting that field and only that field to be the primary key? Brenton B wrote: > > > Ok, so I can kind of understand the use of `$foreignKey` as something > to compare on, but that still doesn't explain why we're limiting to > unique

Re: Install cake on leopard, but not the docroot

2008-10-08 Thread Fran Iglesias
El 08/10/2008, a las 20:43, dotty escribió: > Now, how would i go about installing cake without mucking up my ~/ > Sites directory? Could i make a new dir called ~/cakeSites and run > cake in there? > Any help would be great! You could install it under /Library/WebServer/Documents and acces

Re: Site powered by CakePHP

2008-10-08 Thread Predominant
Probably a good idea to turn debug off. You're publically dumping queries, showing your database structure somewhat. Also, throw some visual validation error indicators on your forms, like the sign-in form etc. Your search screen button indicates results were found, but on clicking it, I was taken

Re: Site powered by CakePHP

2008-10-08 Thread Ranjana Sriavastava
pls off display query. On Thu, Oct 9, 2008 at 1:28 AM, dezpo <[EMAIL PROTECTED]> wrote: > > Hello bakers, > Just wanted to show you what I have did in the past 2 months using > cakephp. This is my new site about car fans. If you have time please > try to test it or even join this project. Thank y

Install cake on leopard, but not the docroot

2008-10-08 Thread dotty
Hay all, i have PHP5 installed (w/ mysql). This works fine, i navigate to ~/Sites and all my php get parsed correctly. Now, how would i go about installing cake without mucking up my ~/ Sites directory? Could i make a new dir called ~/cakeSites and run cake in there? Any help would be great! Th

Re: same element in different controllers

2008-10-08 Thread magnetism
I solved this by using requestAction() On Oct 7, 8:30 pm, magnetism <[EMAIL PROTECTED]> wrote: > Hi! > > I have a Category controller that uses the TreeHelper and the Tree > behaviour > I also have an element for this controller that constructs a css menu. > These are the contents of the element:

Re: Site powered by CakePHP

2008-10-08 Thread teknoid
You should set debug = 0, since I guess you are in production now ;) On Oct 8, 3:58 pm, dezpo <[EMAIL PROTECTED]> wrote: > Hello bakers, > Just wanted to show you what I have did in the past 2 months using > cakephp. This is my new site about car fans. If you have time please > try to test it or

HABTM goodness: searching!!

2008-10-08 Thread Brenton B
I feel like I'm spinning my wheels searching for something that I woulda figured was already coded, but no such luck ... I'm looking for something that helps with searching on any possible association setup for a Model. So of the stuff I've come across are: http://nik.chankov.net/2008/03/01/filte

Site powered by CakePHP

2008-10-08 Thread dezpo
Hello bakers, Just wanted to show you what I have did in the past 2 months using cakephp. This is my new site about car fans. If you have time please try to test it or even join this project. Thank you. www.autolive.org --~--~-~--~~~---~--~~ You received this messa

Get data from another model

2008-10-08 Thread Bookrock
Hi, I have two model User and City They have one to one relation by foreign key city_id. In User Model var $belongsTo = array( 'City' => array( 'className' => 'City', ) ); In City Model var $hasOne = array( 'User' => array( 'className' => 'User', ) ); I want to get only

Re: find('all') and recursive=-1 problem

2008-10-08 Thread teknoid
I wonder if there is some conflict in the translate behavior... Have you tried with: $this->User->recursive = -1; $this->User- >find('all'); On Oct 8, 11:31 am, nastya <[EMAIL PROTECTED]> wrote: > Hello everyone > > I ask you for help!!! > > don't manage to get recursive work in the following

Re: auth with different filad names

2008-10-08 Thread villas
As Marcin says, have a good look through the book. It will really save you time in the long run -- and save the rest of us time too. Although we are of course always happy to help :-) A password-type field is only created automagically if the fieldname is: password, passwd, or psword. http://b

Re: Share the webroot folder ( multiple app folders )

2008-10-08 Thread Shackadoodl
Well, with a subdomain i can make admin.mysite.com or something else so in theory it should work. Thanks :D On Oct 8, 4:10 pm, villas <[EMAIL PROTECTED]> wrote: > Hi Shackadoodl, > Did you consider using mod_rewrite or using a subdomain name. > Although these solutions are to do with the webserv

Re: Encryption/Decryption of data

2008-10-08 Thread Joel Perras
> - secret sharing (Algorithm: Shamir, ...) > > read:http://en.wikipedia.org/wiki/Secret_sharing,http://en.wikipedia.org/wiki/Shamir's_Secret_Sharing Secret sharing schemes are methods of splitting a key amongst many persons, such that one needs all of the partial keys to be able to decrypt

Sub-Layouts, do they exist or how to implement them.

2008-10-08 Thread Marc Campeau
Hi all, I've been wondering if it is possible to use sub-layouts with my views. Let me explain what I mean by "sub-layout": I've got a layout/default.ctp setup to display header, content and footer for the whole website. The body part is just a big div where all the controller/action views are r

find('all') and recursive=-1 problem

2008-10-08 Thread nastya
Hello everyone I ask you for help!!! don't manage to get recursive work in the following conditions: User belongs to Group and Style User acts as 'Translate' $this->User->find('all',array('recursive'=>-1)); ALWAYS gives this error: SQL Error: 1051: Unknown tabl

Re: Is there ANY way to insert page-specific code in to $scripts_for_layout??

2008-10-08 Thread grigri
Erm... sure, be my guest :) I sometimes feel like I should contribute more to the manual, but the truth is I'm so used to browsing the cake source code to get answers I rarely use it myself! On Oct 8, 4:11 pm, BrendonKoz <[EMAIL PROTECTED]> wrote: > grigri - that is absolutely beautiful.  I saw

Re: How do you make line breaks appear in views?

2008-10-08 Thread BrendonKoz
Data validation in the model is one thing, yes. Depending on your application and any security, some extra filtering may be necessary too due to some security implications. However, even I am guilty of not filtering things when I should so that I can "get things done". I would strongly suggest

Re: Is there ANY way to insert page-specific code in to $scripts_for_layout??

2008-10-08 Thread BrendonKoz
grigri - that is absolutely beautiful. I saw it in the API but didn't think to follow up on it. If you don't want to add this to the manual, may I do so with your permission? On Oct 8, 3:54 am, grigri <[EMAIL PROTECTED]> wrote: > What about $this->addScript() ? > > From the view: > > $this->add

Re: How do you make line breaks appear in views?

2008-10-08 Thread Cody Sortore
Yeah, I always get paranoid about that type of thing... I know I've read things on white hat hacker blogs warning people on just that subject because on some forms you can type MySQL calls and get more information than they should be allowed through that. I will read up on PHP security and filter

Re: How do you make line breaks appear in views?

2008-10-08 Thread Cody Sortore
I'd like to get some sort of WYSIWYG editor for some other sites that I'll be doing in the future. Right now this one is just very basic. No need of letting, and actually really don't WANT them doing much more on this site at the moment. But yes, there will be a need for such things in the futur

Re: Email Validation after registration

2008-10-08 Thread [EMAIL PROTECTED]
This is a little component I created a few years ago to do things like this in a general way. http://bakery.cakephp.org/articles/view/ticket-component-resetting-user-passwords You can use it as is or change it to suit your needs. On Oct 8, 4:40 am, Joel Perras <[EMAIL PROTECTED]> wrote: > Store

Re: Save hasOne

2008-10-08 Thread teknoid
Store the id in the session. On Oct 8, 9:25 am, Günther Theilen <[EMAIL PROTECTED]> wrote: > OK, I'll have another look at the security component. > The last time I tried it, I found the same you did: it caused more > problems than it solved. > > Thanks anyway. > > grigri: > > > If you use the Se

Re: Tutorial - How make associations between models on different database

2008-10-08 Thread teknoid
The only problem with HABTM is that cake will expect your join table to be in the same DB as the "main" model. The easy work-around is to make a chain of hasMany/belongsTo in this case. On Oct 8, 9:07 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > David: > I can see how that would work for

Re: Trouble with the HtmlHelper and $scripts_for_layout

2008-10-08 Thread Marc Campeau
> Think about when in terms of processing order $scripts_for_layout is > calculated. You're absolutely right about the order of processing. It seems $scripts_for_layout is calculated from the view->__scripts[] but only for the actual view template (the one that corresponds to controller/ action) n

Re: Share the webroot folder ( multiple app folders )

2008-10-08 Thread villas
Hi Shackadoodl, Did you consider using mod_rewrite or using a subdomain name. Although these solutions are to do with the webserver rather than cake. HTH On Oct 7, 9:33 pm, Shackadoodl <[EMAIL PROTECTED]> wrote: > Yes, i looked into that, but it still doesn't delve in how i can let > the > admin

Complex Model

2008-10-08 Thread Stockit-rehanw
Hi, This is the scene - I have 3 databases (currently) - one is named "_shared" and the others are named after a country symbol ex "_us", "_uk". The "_shared" database has tables which in turn have rows - each connects to a different database->table->id For instance a table "_shared.fans" would

Re: How to exclude a field from inserts and updates

2008-10-08 Thread Hipnotik
Interesting subject... On Oct 8, 7:26 am, "Paolo Stancato" <[EMAIL PROTECTED]> wrote: > Maybe you're not passing those fileds but someone else. > It's quiete easy to inject new fields in a form. How adding process should be done correctly? Is 'cake bake'-way incorrect? Working but incorrect? >

Re: How do you make line breaks appear in views?

2008-10-08 Thread mark_story
Have you thought of using something like TinyMCE? It will generate html for you as you type. Allowing you to do much more than insert's. They are fairly easy to install with minimal work. -Mark On Oct 8, 3:59 am, Cody Sortore <[EMAIL PROTECTED]> wrote: > I've got a decent handle on PHP at le

Re: Is there ANY way to insert page-specific code in to $scripts_for_layout??

2008-10-08 Thread Kappa
This is what i did some time ago: File: app_controller.php (so every controller has it for free) function beforeRender(){ //Load a controller specific CSS if( file_exists(CSS.$this->name.'.css') ){ $this->set('controllercss_for_layout',$t

Re: Tutorial - How make associations between models on different database

2008-10-08 Thread David C. Zentgraf
I have this case working in an app of mine, no problem whatsoever. Cake just gets the data in two steps and combines it. (I'd rather it does a cross-database JOIN, but it works anyway.) Chrs, Dav On 8 Oct 2008, at 22:07, [EMAIL PROTECTED] wrote: > > David: > I can see how that would work for ha

Re: Save hasOne

2008-10-08 Thread Günther Theilen
OK, I'll have another look at the security component. The last time I tried it, I found the same you did: it caused more problems than it solved. Thanks anyway. grigri: > If you use the Security Component then the Form Helper will > automatically generate and manage hash fields to make sure th

Re: Dynamic model names in loop - possible?

2008-10-08 Thread techiguy
you can do it in this way. in your controller just call the function $this->set('values', $this->Hotelinfo->findList('Hotel')); and in AppController write the function function findList($modelname) { return $this->Hotelinfo->$modelname->find('list'); } thats it what ever model u want to

Re: Tutorial - How make associations between models on different database

2008-10-08 Thread [EMAIL PROTECTED]
David: I can see how that would work for hasMany. But for hasOne, belongsTo and (I think) HABTM Cake joins the tables to get the data in a single query. Does Cake honor useDbConfig in these cases? /Martin On Oct 8, 1:08 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote: > Set up multiple databa

Re: Save hasOne

2008-10-08 Thread grigri
If you use the Security Component then the Form Helper will automatically generate and manage hash fields to make sure that hidden fields are not modified (amongst other things) (I've found it to cause more problems than it solves, however - give it a go). To be honest, I rarely make use of saveA

Re: How to do a migration? Database schemas are driving me mad.

2008-10-08 Thread [EMAIL PROTECTED]
I'll answer my own rant for future reference on the subject. I ended up doing it this way: Got the majority of the schema migration queries from Navicat (a gui for MySQL). Got a more complete list of collation and charset changes by using this little script I found and modified a bit: http://bog

Re: Save hasOne

2008-10-08 Thread Günther Theilen
Yeah, I thought about that. But what happens if a user changes the value of the hidden field AdvancedEntry.id? So I would have to check if the field has the right value. And in that case I could just drop the hidden field. Or am I missing something? Regards Guenther grigri wrote: > Add a hi

Re: auth with different filad names

2008-10-08 Thread [EMAIL PROTECTED]
hm controller: $this->Auth->fields = array( 'username' => 'email', 'password' => 'pass' ); view: print $form->input('email', array('label' => __('Email', true))); print $form->input('pass', array('type' => 'password', 'label' => __('Password', true))); the second input without the type key

Re: Tutorial - How make associations between models on different database

2008-10-08 Thread David C. Zentgraf
Set up multiple database connections in database.php. http://book.cakephp.org/view/40/Database-Configuration Configure your models to use the appropriate connection. http://book.cakephp.org/view/435/useDbConfig The associations between models work exactly the same, no extra work needed. On 8

Re: How could I change Paginator->numbers() render from to the

2008-10-08 Thread David Yell
I would tackle it by extending the Paginator class to include a customNumbers() style function which would take this into account. As far as I know this isn't available with the current paginator class, although I could be wrong. A quick check on http://api.cakephp.org/class_paginator_helper.htm

Re: Save hasOne

2008-10-08 Thread grigri
Add a hidden field containing the AdvancedEntry id to the form: echo $form->input('BasicEntry.bacon'); echo $form->input('AdvancedEntry.id'); echo $form->input('AdvancedEntry.eggs'); (The `id` of the BasicEntry is transmitted to the edit action as the 1st parameter, so you don't need to do this

Re: internazionalization | gettext not working on production server: any idea?

2008-10-08 Thread cakeFreak
The problem is with cake.basics.php function __() that uses i18n class Unluckily I don't get any log error or debug error The production server is SuSe g this is driving me crazy! Dan On 4 Ott, 20:20, "jitka (poLK)" <[EMAIL PROTECTED]> wrote: > Not enough info to tell you what is wrong th

Re: How could I change Paginator->numbers() render from to the

2008-10-08 Thread Elmaho
In this url whose controller will receive page:2 parameter /site/contrs/action/page:2 please if you have any suggestion, solution replay me thanks On 8 oct, 09:46, Elmaho <[EMAIL PROTECTED]> wrote: > hi, > the render of the numbers() function in the paginator helper is a list > of span tags, ha

Dynamic model names in loop - possible?

2008-10-08 Thread Liebermann, Anja Carolin
$modelname = 'Hotel' ${$controllername} = $this->Hotelinfo->$modelname->find('list'); Seams to work. Sometimes life is easier than expected ;-) Anja -Ursprüngliche Nachricht- Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Liebermann, Anja Carolin Gesendet: Mitt

Re: auth with different filad names

2008-10-08 Thread [EMAIL PROTECTED]
Sometimes the easiest way what will work. :) Thanks --~--~-~--~~~---~--~~ 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

Dynamic model names in loop - possible?

2008-10-08 Thread Liebermann, Anja Carolin
Hello everybody, I have a loop and want to set the linked object name dynamically: Now : ${$controllername} = $this->Hotelinfo->Hotel->find('list'); As you can see I have already the variable dynamically named. Now i want to replace 'Hotel' by a varibale. Something like: ${$controllername} = $

Re: Is there ANY way to insert page-specific code in to $scripts_for_layout??

2008-10-08 Thread David C. Zentgraf
I'll play around with that, thanks. A new undocumented goodie every day... ;-) On 8 Oct 2008, at 16:54, grigri wrote: > > What about $this->addScript() ? > > From the view: > > $this->addScript(""); > > Adds it internally to the $scripts_for_layout variable; it's called > from HtmlHelper::css()

How could I change Paginator->numbers() render from to the

2008-10-08 Thread Elmaho
hi, the render of the numbers() function in the paginator helper is a list of span tags, have you any idea to change this one into a select tag. i can't figure it ?? thank you readers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Save hasOne

2008-10-08 Thread Günther Theilen
Hi, let's say there are two models: BasicEntry hasOne AdvancedEntry AdvancedEntry belongsTo BasicEntry In the advanced_entries table in the DB there is a field called "basic_entry_id" In views/basic_entries_edit.ctp there is something like this: $form->input('BasicEntry.foo'); $form->input('

Re: Is there ANY way to insert page-specific code in to $scripts_for_layout??

2008-10-08 Thread Kappa
Why not setting a variable 'specific_js_for_layout' with $this- >set('specific_js_for_layout',#WHAT YOU WANT#); inside the beforeFilter or beforeRender? On Oct 8, 9:54 am, grigri <[EMAIL PROTECTED]> wrote: > What about $this->addScript() ? > > From the view: > > $this->addScript(""); > > Adds it

Re: auth with different filad names

2008-10-08 Thread Marcin Domanski
give me a break - do some searching. AT LEAST look at auth page in cookbook : book.cakephp.org . -- Marcin Domanski http://kabturek.info On Wed, Oct 8, 2008 at 9:56 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is it possible to use auth component if my username's filed name is > email

Tutorial - How make associations between models on different database

2008-10-08 Thread [EMAIL PROTECTED]
Hi I have read many posts about "How make associations between models on different database" but I have not yet understood how can I do this. Can someone explain how I can do this for all type of associations (in particular for HABTM)? Many thanks --~--~-~--~~~---~--~--

Re: Is there ANY way to insert page-specific code in to $scripts_for_layout??

2008-10-08 Thread grigri
What about $this->addScript() ? >From the view: $this->addScript(""); Adds it internally to the $scripts_for_layout variable; it's called from HtmlHelper::css() and whatnot. hth grigri On Oct 8, 3:19 am, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote: > I'm using the HeadHelper to do exactly w

Re: How do you make line breaks appear in views?

2008-10-08 Thread Cody Sortore
I've got a decent handle on PHP at least enough to get by. I'm not trying to create some social networking site or anything, just a very simple site that has some user comments and what not on it. I'll admit I've never gone through and actually "learned" PHP most of what I've done was starting w

auth with different filad names

2008-10-08 Thread [EMAIL PROTECTED]
Is it possible to use auth component if my username's filed name is email and password filed's name is pass? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-p

Re: executing shell scripts

2008-10-08 Thread David C. Zentgraf
http://images.google.com/images?q=facepalm ;-) On 8 Oct 2008, at 16:00, Ryan McKillen wrote: > Martin, thanks for the continued help. > > David, wow. That was it. Think I subconsciously omitted them since > it's not > going to run through the web server. Thank you. > > > > On Wed, Oct 8, 2008

Re: Model imports inexistent class Behavior

2008-10-08 Thread kAtremer
OK. It turned out to be like this: App::import('Core', 'Behavior') does in fact import classes ModelBehavior and BehaviorCollection. But on subsequent calls App::import() still checks if the 'Behavior' class is defined. So I suppose what really should be made is: rename behavior.php to model_

Re: executing shell scripts

2008-10-08 Thread Ryan McKillen
Martin, thanks for the continued help. David, wow. That was it. Think I subconsciously omitted them since it's not going to run through the web server. Thank you. On Wed, Oct 8, 2008 at 2:54 AM, David C. Zentgraf <[EMAIL PROTECTED]> wrote: > > Just to make sure: > Your code is inside tags, is