Re: Thoughts on this blog post?

2008-12-23 Thread Donkeybob

oh . . i know he does. not bothered here. just wanted opinions.

On Dec 23, 10:08 am, "jitka (poLK)"  wrote:
> I think he just likes ZF over CakePHP, don't panic.
--~--~-~--~~~---~--~~
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-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Thoughts on this blog post?

2008-12-23 Thread Donkeybob

I'd like to know what everybody else thinks of this post . . not just
his friends.

http://ajbrown.org/blog/2008/12/22/four-reasons-to-hate-cakephp/
--~--~-~--~~~---~--~~
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-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Finding id field in model

2008-12-19 Thread Donkeybob

if your in the model . . .does this work? $this->Modelname->id;

On Dec 19, 6:35 pm, Ken  wrote:
> This is the worst kind of noob question, but I'm stumped. I've tried
> $this->Modelname->getID();
> $this->Modelname->getLastInsertID();
> $this->data['Modelname']['id'];
>
> a special method from the Wizard Component:
> $this->Wizard->read('step.Modelname.id'); //by the way, this method
> retrieves data for ANY field BUT id.
>
> and no joy. I just want the current Model's record id. What am I
> missing?
>
> Any insight you may be able to offer will be most welcome. Thanks in
> advance.
--~--~-~--~~~---~--~~
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-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Determine a file's MIME type

2008-12-19 Thread Donkeybob

have you tried getimagesize()

http://us3.php.net/getimagesize



On Dec 19, 4:30 pm, djXternal  wrote:
> I am trying to determine a file's MIME type that's on the server.  I
> have tried using the PHP finfo function, but came back with a cannot
> find function error Is there any other way of determining file
> type?
--~--~-~--~~~---~--~~
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-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to open a popup window without default layout..??

2008-12-03 Thread Donkeybob

for the link, create a blank layout file in the layout directory.

set this in the action:
$this->layout = 'blank';

easy as pie . . .read more about it here: 
http://book.cakephp.org/view/96/Layouts

On Dec 3, 2:16 am, "Aneesh S" <[EMAIL PROTECTED]> wrote:
> Hi,
>
>    Need help here. How can i open a popup window without the default layout.
> ie i need a blank popup window to open when clicked on a link.
> Can anyone help me with this.
>
> Thanx in advance..
>
> Aneesh S
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: MiBase Auth

2008-12-01 Thread Donkeybob

What is this MiBase you talk about?

On Dec 1, 1:30 pm, skitle <[EMAIL PROTECTED]> wrote:
> I have been using MiBase (Awesome btw), and having a couple issues
> that I haven't been able to figure out.
>
> When I log in and choose 'Remember Me', the cookie does not stick or
> some other issue. I have to login a few times each day when working on
> the project.
>
> The browser shows that the cookie isn't set to expire for a month, but
> does not seem to matter.
>
> If anyone has some insight, it would be appreciated.
>
> Thanks,
>
> skitle
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Help needed for inline WISIWYG editor...

2008-11-13 Thread Donkeybob

I use Yahoo Rich Text Editor. I did make sure my script was below the
form tags, so the control would render before the yahoo code. Other
then that . . .no problems

input('content'); ?>


(function() {
var Dom = YAHOO.util.Dom,
Event = YAHOO.util.Event;

var myconfig = {
height: '200px',
width: '550px',
dompath: false,
handleSubmit: true,
autoHeight: true
};

var conEditor = new YAHOO.widget.Editor('Content', 
myconfig);
conEditor._defaultToolbar.buttonType = 'basic';
conEditor.render();

})();


On Nov 13, 8:28 am, Smelly_Eddie <[EMAIL PROTECTED]> wrote:
> TinyMCE is what you need.
>
> Minimal code to turn any text area into rich editors.
>
> PAsses data normally as post (or whatever method your existing form
> uses)
>
> On Nov 13, 8:04 am, "Aneesh S" <[EMAIL PROTECTED]> wrote:
>
> > I had tried Yahoo's rich text editor, but i could not get the data via
> > post... Any help in that matter would be great...
>
> > Thanks for the hint kyle.davis
>
> > On 11/13/08, validkeys <[EMAIL PROTECTED]> wrote:
>
> > > in some WYSIWYG editors, there is a setting for handling post. If you
> > > don';t set that variable, you can submit the form but you won't see
> > > the values in _POST
>
> > > On Nov 13, 7:01 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > wrote:
> > >> Hi,
>
> > >>    I need to build an inline wysiswig editor for the project i'm
> > >> working on. I have tried some editors, but im not being able to
> > >> extract the typed text using post.  Is such a facility built-in in
> > >> cake ? Can any one help me out in this Thanks in advance
>
> > --
> > Aneesh S
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: "Undefined variable: javascript" when Javascript is absolutely loaded

2008-11-10 Thread Donkeybob

I was just seeing if the same errors happened when you wrote the js
path a little different. . . no need to get rude about it. thats how i
like to troubleshoot. . . . .

On Nov 10, 5:03 am, Antoniov <[EMAIL PROTECTED]> wrote:
> Didn't i make it clear? There was an error says:
>
> Undefined variable: javascript [APP\views\layouts\default.ctp, line 8]
> Fatal error: Call to a member function link() on a non-object in D:
> \xampp\htdocs\cake\tree\views\layouts\default.ctp on line 8
>
> On Nov 10, 12:27 am, Donkeybob <[EMAIL PROTECTED]> wrote:
>
> > what happens when you link the the js file by using this method  > echo $javascript->link('ext-2.0.1/ext-custom'); ?> ?
>
> > On Nov 9, 7:18 am,Antoniov<[EMAIL PROTECTED]> wrote:
>
> > > Undefined variable: javascript [APP\views\layouts\default.ctp, line 8]
> > > Fatal error: Call to a member function link() on a non-object in D:
> > > \xampp\htdocs\cake\tree\views\layouts\default.ctp on line 8
>
> > > Controller code:
>
> > > var $components = array('RequestHandler','Security');
> > > var $helpers = array('Form','Javascript','Html');
>
> > > default.ctp line 8
> > > link('/js/ext-2.0.1/ext-custom.js'); ?>
>
> > > Anyone has any ideas?
> > > Thanks a lot.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: "Undefined variable: javascript" when Javascript is absolutely loaded

2008-11-09 Thread Donkeybob

what happens when you link the the js file by using this method link('ext-2.0.1/ext-custom'); ?> ?

On Nov 9, 7:18 am, Antoniov <[EMAIL PROTECTED]> wrote:
> Undefined variable: javascript [APP\views\layouts\default.ctp, line 8]
> Fatal error: Call to a member function link() on a non-object in D:
> \xampp\htdocs\cake\tree\views\layouts\default.ctp on line 8
>
> Controller code:
>
> var $components = array('RequestHandler','Security');
> var $helpers = array('Form','Javascript','Html');
>
> default.ctp line 8
> link('/js/ext-2.0.1/ext-custom.js'); ?>
>
> Anyone has any ideas?
> Thanks a lot.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Creating DatabaseTables (cakephp way)

2008-11-06 Thread Donkeybob

I use this same concept but my userinformation is called profiles.
just what i like but here is how mine our set up:

users_controller.php:
class UsersController extends AppController {

var $name = 'Users';
var $scaffold;
}
user.php:
class User extends AppModel {

 var $name = 'User';
 var $hasOne = array(
'Profiles' => array('className' => 'Profiles',
'foreignKey' => 
'users_id',
'dependent' => 
false
)
);
}

profiles_controller.php:
class ProfilesController extends AppController {

var $name = 'Profiles';
   var $scaffold;
}
profile.php:
class Profile extends AppModel {

var $name = 'Profile';

var $belongsTo = array(
'Users' => array('className' => 'Users',
'foreignKey' => 
'users_id'
)
);

}

going by your table setup - - -
user table:
id integer auto increment primary
firstname varchar(45)
lastname varchar(45)

profile:
id integer auto increment primary
sss_number varchar(45)
birthday datetime
users_id integer primary

this scenario works for me

the id column in the profile table should be relevant to the profile
table only . . . your association would be with the user_id field in
the profile table and how you setup the relationship in your model
(ex.  'foreignKey' => 'users_id' ) will make it work

but this is how i do it . .

rich

On Nov 6, 8:18 am, Rey Philip <[EMAIL PROTECTED]> wrote:
> By the way thnks for the responseActually what I want to do is the
> "HasOne" relationship, the problem is that I can't implement it. The
> problem is like this
>
> I have a users table:
> id integer auto increment primary
> firstname varchar(45)
> lastname varchar(45)
>
> also I have a userinformations table
> id integer auto increment primary
> sss_number varchar(45)
> birthday datetime
> user_id integer
>
> I want this to have a one to one relationship
>
> so what I did in the userinformations_controller.php
>
> class UserinformationsController extends AppController
> {
>     var $name = 'Userinformations';
>     var $scaffold;
>
> }
>
> in the userinformation.php
>
> class Userinformation extends AppModel
> {
>     var $ame = 'Userinformation';
>     var $belongsTo = array('User');
>
> }
>
> in the users_controller.php
>
> class UsersController extends AppController
> {
>     var $name = 'User';
>     var $scaffold;
>
> }
>
> in the user.php
>
> class User extends AppModel
> {
>     var $name = 'User';
>     var $hasOne = array('Userinformation');
>
> }
>
> After doing that, I add new users to my users table and its
> doneThe problem now is when I insert records on the
> userinformations table, I cant insert 2 or more user_id in the
> userinformations table. So I think the problem is on my table cause my
> userinformations table has an auto_increment id  and also the primary
> key. So what I want to do is to delete the id in the userinformations
> table and then make the user_id a primary key so, it will have a one
> to one relationship with the user table.
>
> Am I right? Give me some advice on how to do it correctly.
>
> Good day.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Javascript "Ajax" methods" not working

2008-11-05 Thread Donkeybob

nothing comes back into firebug when i run it with 0 set . . . .just
weird . . its like it doesn't even start.

On Nov 5, 3:33 pm, the_woodsman <[EMAIL PROTECTED]> wrote:
> Never had this problem myself - in fact, usually the other way round!
> Although I have seen threads about Ajax and session persistence being
> a problem, and debug level might have an impact on that.
>
> Do you have firebug for Firefox installed? You can take a look at what
> comes back from the ajax request to identify the cause more
> precisely...
>
> On Nov 5, 4:49 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
>
> > I have different methods in my code that send ajax requests and fancy
> > stuff like that . . .these functions work great when i set my debug
> > mode to 1 or 2 but when i set it to 0, they don't work.
>
> > any ideas why this would happen?
>
> > thanks,
> > rich
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Javascript "Ajax" methods" not working

2008-11-05 Thread Donkeybob

I have different methods in my code that send ajax requests and fancy
stuff like that . . .these functions work great when i set my debug
mode to 1 or 2 but when i set it to 0, they don't work.

any ideas why this would happen?

thanks,
rich
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: File Uploading problem

2008-10-21 Thread Donkeybob

I've gotten this to work. haha . . .it was a php.ini setting of the
file upload variables that was uploaded to the wrong place and also a
x-m4a media type validation. . . .thanks for everybody's help.

On Oct 21, 11:37 am, [EMAIL PROTECTED] wrote:
> If you are using iis in windows server 2003, the default upload size is 200kb.
> This can be changed in IIS and also edit the metabase.xml file.
>
> Sent from my Verizon Wireless BlackBerry
>
> -Original Message-
> From: LunarDraco <[EMAIL PROTECTED]>
>
> Date: Tue, 21 Oct 2008 08:29:15
> To: CakePHP
> Subject: Re: File Uploading problem
>
> The file size for most http post is limited by the server and php to
> something less than 2048. Which limits your capabilities of the size
> of file you can upload.
> In order to upload files larger than this limit you would need to
> chunk the file and then reassemble the file on the server.
>
> This usually requires some kind of client side java applet, that can
> break the file into pieces and send the pieces as individual posts.
> An example of this ishttp://www.jumploader.com/, there are many more
> paid and free large file upload applets, and flash components.
>
> I choose jumploader for my project because it runs on all three
> platforms that I intend to support. And if I really don't like
> something I have the option of buying the source.
>
> Do some searching for large file upload applet you'll find what you
> need to get past your current problem.
>
> On Oct 20, 2:21 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
> > The file size is 7 mb
>
> > my php.ini settings:
> > max_execution_time = 30
> > max_input_time = 60
> > memory_limit = 32M
> > post_max_size = 75M
> > upload_max_filesize = 50M
>
> > I post it to the database too. The area where it errors, is when it
> > saves the data because $this->data does not have filename, mediatype
> > and size included.
>
> > On Oct 20, 3:35 pm, Julien Buratto <[EMAIL PROTECTED]> wrote:
>
> > > Donkeybob wrote:
> > > > I'm using this: $form->file('filename') in my file upload utilty. Some
> > > > certain files will upload and save the data, but some files types
> > > > don't. . . . . .ex. podcast.m4a.
>
> > > > When i submit the form . . .this->data only posts:
> > > > Array
> > > > (
> > > >     [Fileupload] => Array
> > > >         (
> > > >             [name] => Podcast name
> > > >             [type] => Podcast
> > > >             [filename] =>
> > > >             [mediatype] =>
> > > >             [size] => 0
> > > >             [path] =>
> > > >         )
>
> > > > )
>
> > > > Why would it not read the file details? I can upload other files . . .
>
> > > > thanks
> > > > Rich
>
> > > Size? did you check the php.ini file ? are you writing to db ? if so,
> > > which is the max query size you are allowed to execute ?
>
> > > J
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Need help with jQuery jqGrid plugin

2008-10-21 Thread Donkeybob

i would think you could just follow the example on the site for JSon
data. call you data cake wrapped in a json_encode and use the example
javascript. that should start you off. http://trirand.com/jqgrid/jqgrid.html

otherwise search the google . . .



On Oct 21, 10:46 am, myles <[EMAIL PROTECTED]> wrote:
> Good Day to All!
>
> I want to use jqGrid with CakePHP.
> I want to use jqGrid's pagination and filter features.
>
> But I have no idea how to integrate the two.
>
> jqGrid DEMOhttp://trirand.com/jqgrid/jqgrid.html
>
> jqGrid Homepagehttp://www.trirand.com/blog/
>
> Hope somebody could help on my problem.
> By the way I am new to PHP and CakePHP so please go easy on me.
>
> Thanks and Regards,
> Myles
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: File Uploading problem

2008-10-20 Thread Donkeybob

The file size is 7 mb

my php.ini settings:
max_execution_time = 30
max_input_time = 60
memory_limit = 32M
post_max_size = 75M
upload_max_filesize = 50M

I post it to the database too. The area where it errors, is when it
saves the data because $this->data does not have filename, mediatype
and size included.

On Oct 20, 3:35 pm, Julien Buratto <[EMAIL PROTECTED]> wrote:
> Donkeybob wrote:
> > I'm using this: $form->file('filename') in my file upload utilty. Some
> > certain files will upload and save the data, but some files types
> > don't. . . . . .ex. podcast.m4a.
>
> > When i submit the form . . .this->data only posts:
> > Array
> > (
> >     [Fileupload] => Array
> >         (
> >             [name] => Podcast name
> >             [type] => Podcast
> >             [filename] =>
> >             [mediatype] =>
> >             [size] => 0
> >             [path] =>
> >         )
>
> > )
>
> > Why would it not read the file details? I can upload other files . . .
>
> > thanks
> > Rich
>
> Size? did you check the php.ini file ? are you writing to db ? if so,
> which is the max query size you are allowed to execute ?
>
> J
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



File Uploading problem

2008-10-20 Thread Donkeybob

I'm using this: $form->file('filename') in my file upload utilty. Some
certain files will upload and save the data, but some files types
don't. . . . . .ex. podcast.m4a.

When i submit the form . . .this->data only posts:
Array
(
[Fileupload] => Array
(
[name] => Podcast name
[type] => Podcast
[filename] =>
[mediatype] =>
[size] => 0
[path] =>
)

)

Why would it not read the file details? I can upload other files . . .

thanks
Rich



--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



FirePHP debugging on live server?

2008-10-12 Thread Donkeybob

I installed the Firephp debugging class on my cakephp site. The
debugging in FireBug works on my local server but not on my live
server . . . . any thoughts why this would happen?

Thanks,
Rich
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Please help to create new multilanguage site in cake php

2008-10-03 Thread Donkeybob

What errors are you getting? What is the problems that you are seeing?

On Oct 3, 6:30 am, uddi <[EMAIL PROTECTED]> wrote:
> I have read the multilanguage support in cakePHP article (http://
> bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-
> internationalization-tutorial). But i am not able to run this example.
>
> Please help if anyone have any other reference Url or guidence
> material  from where i can get multilanguage support example having
> step by step procedure.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CHAR datatype problem

2008-09-30 Thread Donkeybob

Nevermind, it works fine with VARCHAR. . . .

On Sep 28, 11:14 am, Donkeybob <[EMAIL PROTECTED]> wrote:
> Can cake use this datatype? VARCHAR(36)?
>
> On Sep 27, 6:37 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
>
> > I'm using a CHAR(36) for my id fields and my dev machine is fine with
> > that but when I move the table to the host server, the CHAR get
> > changed to a VARCHAR. What do I do with the automatic ID creation for
> > CHAR datatypes?
>
> > Rich
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: how can run my first program in cakephp

2008-09-30 Thread Donkeybob

if you follow the manual step by step, then you should have a basic
cake site running. Run through the blog tutorial . . .it will help.

On Sep 30, 4:19 am, "Sonal Kumari" <[EMAIL PROTECTED]> wrote:
> Hi All
> i m new in cakephp.
> i have installed all things regradinh cakephp... and now i want to run
> my programs..
> but not getting proper
> so anyone would you help me...
> plz give me steps for first program..
>
> thanks a lot..
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Simple Ajax link to update div

2008-09-30 Thread Donkeybob

it looks like your syntax is wrong for the ajax link . . .no
parenthesis around '$ajax->link' code either . . .check out
http://book.cakephp.org/view/212/Methods for proper syntax.

from the manual related to your code
link('View Post',
array( 'controller' => 'tests', 'action' => 'ajaxfcn1', 1 ),
array( 'update' => 'divout', 'complete' => 'alert( "Executed
OK" )' )
 );
?>

in your controller function:

echo "Controller Executed";

as long as protoptype is linked up, then that should work.


On Sep 29, 11:56 pm, qwanta <[EMAIL PROTECTED]> wrote:
> Hi,
> I have been struggling a bit to get a simple Ajax link working. I have
> searched this group for help in older posts, but it seems like a key
> tutorial (the grahambird one) is no longer available - perhaps because
> it no longer works with 1.2.
>
> If there is a tutorial somewhere that covers this, please let me know.
> I think I have gone over all the available (through google) CakePHP
> ajax tutorials, but unfortunately without success - some are outdated
> (pre 1.2), others do not have full working code etc...
>
> In any case, here is my code:
> 
> index.ctp
> Ajax 3 - testing ajax link and button
>          $link_array1 = array('controller'=>'tests' ,
>                                                                 
> 'action'=>'ajaxfcn1');               // the function to execute: function
> ajaxfcn1 in controller tests
>
>         $link_array2 = array( 'update' => 'divout',
>                                                                 'complete' => 
> 'alert( "Executed OK" )' );  // the div we want
> to update
>
>         echo ($ajax->link('this an ajax link', $link_array1,
> $link_array2,'Confirmation String'));
>
>         echo "";
>
>         echo ($ajax->submit('this is an ajax button', $link_array1,
> $link_array2,'Confirmation String'));
> ?>
> 
> 
> the div to update
> 
> 
> tests_controller.php
>  class TestsController extends AppController {
>
>         var $name = 'Tests';
>         var $uses = array();            // prevent cake from looking for a 
> database
> model
>
>         function index() {
>
>         }
>
>         function ajaxfcn1() {
>                         $this->render('index', 'ajax');
>         }}
>
> ?>
> 
>
> So basically I have a view with an ajax link, an ajax button, and a
> . I would like to change the text in the div when I click the
> link or button. At this point, nothing happens when I click them. I am
> not sure if the ajaxfcn1() function is even executing at this point.
> What's an easy statement to add in ajaxfcn1() to determine if the code
> is executing? What function would I use to set the new div text from
> within ajaxfcn1()?
>
> 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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CHAR datatype problem

2008-09-28 Thread Donkeybob

Can cake use this datatype? VARCHAR(36)?

On Sep 27, 6:37 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
> I'm using a CHAR(36) for my id fields and my dev machine is fine with
> that but when I move the table to the host server, the CHAR get
> changed to a VARCHAR. What do I do with the automatic ID creation for
> CHAR datatypes?
>
> Rich
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



CHAR datatype problem

2008-09-27 Thread Donkeybob

I'm using a CHAR(36) for my id fields and my dev machine is fine with
that but when I move the table to the host server, the CHAR get
changed to a VARCHAR. What do I do with the automatic ID creation for
CHAR datatypes?

Rich
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Adding to db without going to view..?

2008-09-26 Thread Donkeybob

You use it the way you have it and just change the section in the add
function to redirect . . .

-> $this->redirect(array('action'=>'view'));

Every function should have a related view file unless you state
otherwise with a layout call.

if your action is "add" then you have to have an add function in the
controller, which uses the add view. . . .just redirect it in your
statement.

function add() {
if (!empty($this->data)) {
$this->UserFavourite->create();
if ($this->UserFavourite->save($this->data)) {
$this->Session->setFlash(__('The
UserFavourite has been saved', true));
$this-
>redirect(array('action'=>'view'));
} else {
$this->Session->setFlash(__('The
UserFavourite could not be saved. Please, try again.', true));
$this-
>redirect(array('action'=>'view'));
}
}
}


hope this is a start
rich


On Sep 26, 10:59 am, gabriel <[EMAIL PROTECTED]> wrote:
> Hi, does anyone know how I can add  (like a favourite to a db table)
> without going to the add view?
>
> I have a link
> testsite/user_favourites/add/2
>
> IF I click on it it, it takes me to the add view (which has a model
> and controller)
> I DON'T want to go to the add view, but the 'view' view which shows
> the favourite that had just been added... here is the add controller
> and view and model
>
> 
> controller /
>         function add() {
>                 if (!empty($this->data)) {
>                         $this->UserFavourite->create();
>                         if ($this->UserFavourite->save($this->data)) {
>                                 $this->Session->setFlash(__('The 
> UserFavourite has been saved',
> true));
>                                 $this->redirect(array('action'=>'index'));
>                         } else {
>                                 $this->Session->setFlash(__('The 
> UserFavourite could not be saved.
> Please, try again.', true));
>                         }
>                 }
>                 $users = $this->UserFavourite->User->find('list');
>                 $this->set(compact('users'));
>         }
>
> 
> model//
> class UserFavourite extends AppModel {
>
>         var $name = 'UserFavourite';
>         var $validate = array(
>                 'id' => array('numeric'),
>                 'user_id' => array('numeric'),
>                 'item_id' => array('numeric')
>         );
>
>         //The Associations below have been created with all possible keys,
> those that are not needed can be removed
>         var $belongsTo = array(
>                         'User' => array('className' => 'User',
>                                                                 'foreignKey' 
> => 'user_id',
>                                                                 'conditions' 
> => '',
>                                                                 'fields' => 
> '',
>                                                                 'order' => ''
>                         )
>         );
>
> }
>
> ///
> view//
> 
> create('UserFavourite');?>
>         
>                 
>                          echo $form->input('user_id');
>                 echo $form->input('item_id');
>         ?>
>         
> end('Submit');?>
> 
> 
>         
>                 link(__('List UserFavourites', true),
> array('action'=>'index'));?>
>                 link(__('List Users', true),
> array('controller'=> 'users', 'action'=>'index')); ?> 
>                 link(__('New User', true),
> array('controller'=> 'users', 'action'=>'add')); ?> 
>         
> 
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Problem with form helper

2008-09-25 Thread Donkeybob

what happens when you do it the other way . . .

in controller  . . .. . . .
$contacts = $this->Contact->find('all', array(
   'conditions' => array(
 'Contact.user_id' => $this->Session->read('Auth.User.id')
));
$this->set('contacts', $contacts);

in view . . . .
foreach($contacts as $contact) {
echo $form->input($contact['Contact']['name']);
}

this is the way I usually do this type of view setup . .. i don't use
array integers

i may be off on this, so somebody more cakephp involved, could help
you





On Sep 25, 9:50 am, Günther Theilen <[EMAIL PROTECTED]> wrote:
> I want to edit multiple records in one view.
>
> Controller:
>
> $this->data = $this->Contact->find('all', array(
>    'conditions' => array(
>      'Contact.user_id' => $this->Session->read('Auth.User.id')
> ));
>
> View (simplified):
>
> for ($i = 0; $i < count($this->data); $i++):
> e($form->input("$i.Contact.name");
>
> Which works perfectly for the second, third,... records but not for the
> first which has the array key 0.
>
> Donkeybob schrieb:
>
> > Why would you be using an array integer instead of the model name?
> > Does this not use a model? Code you post you controller code that
> > populates this form?
>
> > On Sep 25, 8:54 am, Günther Theilen <[EMAIL PROTECTED]> wrote:
> >> Hi!
>
> >> I've got a weird problem with the form helper, maybe someone can help...
>
> >> $form->input("5.name") creates an input field with name="data[5][name]",
> >> which is pretty much what I expected.
>
> >> But $form->input("0.name") creates an input field with
> >> name="data[foo][name]", foo is the pluralized modelname.
>
> >> Why?
> >> And how can I create an input field with name="data[0][name]"?
> >> (Except for creating it manually of course... ;-))
> >> (Cake 1.2.0.7296 RC2)
>
> >> Regards
> >> Guenther
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Problem with form helper

2008-09-25 Thread Donkeybob

Why would you be using an array integer instead of the model name?
Does this not use a model? Code you post you controller code that
populates this form?

On Sep 25, 8:54 am, Günther Theilen <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I've got a weird problem with the form helper, maybe someone can help...
>
> $form->input("5.name") creates an input field with name="data[5][name]",
> which is pretty much what I expected.
>
> But $form->input("0.name") creates an input field with
> name="data[foo][name]", foo is the pluralized modelname.
>
> Why?
> And how can I create an input field with name="data[0][name]"?
> (Except for creating it manually of course... ;-))
> (Cake 1.2.0.7296 RC2)
>
> Regards
> Guenther
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: bigner for cake

2008-09-23 Thread Donkeybob

Have you tried creating a  "tasks" folder under your view directory
and put your index.ctp file in there??

On Sep 23, 10:30 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]>
wrote:
> Do you get an error message when you try to open that in your browser?
> Did you check your log files for any errors?
>
> On Sep 23, 1:31 pm, akhilesh <[EMAIL PROTECTED]> wrote:
>
> >http://localhost/myfirstcake/
> > this is my cake folder name
> > --
>
> > i have set in httpd.conf both
>
> > Apache mod_rewrite module is switched on
> > AllowOverride is set to all
>
> > temp dir is writable
> > -
> > table sturucture is
>
> > CREATE TABLE tasks (
> > id int(10) unsigned NOT NULL auto_increment,
> > title varchar(255) NOT NULL,
> > done tinyint(1) default NULL,
> > created datetime default NULL,
> > modified datetime default NULL,
> > PRIMARY KEY (id)
> > );
>
> > database.php.default. Rename to database.php
>
> > my database configuration file is present and Cake is able to connect
> > to the database
> > -
>
> > my cake module file is CakeTooDoo/app/models/task.php, write the
> > following code:
>
> >  > class Task extends AppModel {
> > var $name = 'Task';}
>
> > ?>
> > -
>
> > Controller file is CakeTooDoo/app/controllers/tasks_controller.php,
> > with the following code:
>
> >  > class TasksController extends AppController {
> > var $name = 'Tasks';
> > function index() {
> > $this->set('tasks', $this->Task->find('all'));}
> > }
>
> > ?>
>
> > -
>
> > CakeTooDoo/app/views/index.ctp
>
> > Tasks
> > 
> > There are no tasks in this list
> > 
> > 
> > 
> > Title
> > Status
> > Created
> > Modified
> > Actions
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  > if($task['Task']['done']) echo "Done";
> > else echo "Pending";
> > ?>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
>
> > -
>
> > i am trying to run with this link but it is not 
> > runhttp://localhost/CakeTooDoo/tasks/index
>
> > i am new for this frame work
> > can any one tell me what is the problem in this cake application
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: dealing with sessions - should be a simple answer..

2008-09-22 Thread Donkeybob

i might be really wrong but if you can see it in the view function
then it must be in session. To me, the login function is just for
logging in and then it redirects to where the userid can be
retrieved. . . .somebody else could explain this a little better then
me.

On Sep 22, 8:32 am, gabriel <[EMAIL PROTECTED]> wrote:
> Hi, I have a reasonable simple question for an experienced person..
>
> I did authentication according to the cookbook, I want to access the
> user id via session.
>
> I do this in the user controller...
> function login() {
>   $userid = $this->Auth->user('id');
>   $this->Session->write('id', $userid );
>    }
>
> Then I want to do this in the view..
> read('id')); ?>
>
> to see if I get the value, but it does not seems to work in the login
> function, if you place it in the view function it works, but I need
> the values to be set to the session at login.
>
> Help will be greatly appreciated. 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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Accessing JSON data in controller

2008-09-21 Thread Donkeybob

What is your controller code? are you using json_encode in it?
something like this  --->   echo json_encode($this->Model-
>find('all'));

On Sep 21, 7:24 pm, jkritikos <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm having trouble accessing JSON data from a controller. (I'm using
> cake version 1.2). My JSON request is as follows:
>
> $.getJSON(
> '/locations/find',
> {s1:val1, s2:val2},
> function callback(data){
>    //doStuff
>
> });
>
> I know that the JSON request is made just fine because when I tried it
> with empty params I got the response OK. The trouble is that I get
> errors if i try to access the data from the controller using:
>
> //$val = $this->params['val'];
>
> Do i need to decode the JSON string? I've tried $this->params, $this->data 
> but none seem to do it as they are only used for http POST
>
> commands. Note that I m not using any ajax or json helpers/components
> etc.
>
> Thanks,
>
> jason
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: question regarding swfupload component

2008-09-17 Thread Donkeybob

what version of cake are you using? if its 1.2 then you use the .ctp
file, if earlier then you can use the .thtml file

On Sep 17, 2:33 pm, introvert <[EMAIL PROTECTED]> wrote:
> Hello
>
> I have recently started learning cakephp and came around swfupload
> component for cakephp available 
> here:http://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-up...
>
> However, I couldnt figure out two things.
>
> There are 2 view template files but I dont know how should I call
> each.
>
> I put them in views/files/ folder and tried with combinations like
> 'upload.thtml' 'upload.ctp'.
>
> Can someone please explain whats the proper way of naming these view
> templates and where should I place them to make it work properly? Why
> are there 2 files?
>
> Many thanks in advance!
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: getting cake bake to work on vista, xampp..

2008-09-17 Thread Donkeybob

I got this to work on my vista machine but I didn't use the direct
file name in the path, just try

C:\xampp\php; C:\xamp\htdocs\testsite\cake\console

It works like a charm for me

On Sep 17, 9:25 am, gabriel <[EMAIL PROTECTED]> wrote:
> hi, I would like to know if anyone can help me..
> I am trying to get cake bake to work on vista, xampp, I have also
> installed cygwin..
>
> I have included in my advanced->Enviroment Variables->path (edit)
>
> C:\xamp\php\php4\phpcli.exe;C:\xamp\htdocs\testsite\cake\console
> \cake.bat
>
> yet when I type in ' cake bake ' in the command prompt -
> 'cake' is not recognized as an internal or external command operable
> program or batch file
>
> or cygwin prompt it says
> bash: cake: command not found
>
> Thanks for your help in advance
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Cake on rails

2008-09-17 Thread Donkeybob

Is this real? Everything points to being a joke to me. . . I don't see
any real world code . . . .

On Sep 17, 3:32 am, Wojciech <[EMAIL PROTECTED]> wrote:
> Hey bakers!
>
> Did you see one?
>
> http://www.cakeonrails.co.uk/
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Error handling

2008-09-12 Thread Donkeybob

check out the manual for debugging and logging

http://book.cakephp.org/view/155/Debugging
http://book.cakephp.org/view/157/Logging

also . . .firebug with firephp is a great tool!

On Sep 12, 6:06 pm, "Luiz Poleto" <[EMAIL PROTECTED]> wrote:
> Hello guys,
> I was wondering whether it's possible to catch error message and error code
> (if any), when trying to perform any action in cake.
> Let me explain better:
> Suppose i called a $this->save() method and it didn't save for any reason.
> Instead of display an error to the user, i would like to log the error
> message and display a user friendly message to the user. The second part,
> about the message, i already do, but i often have no clue what the error is.
> Any ideas?
>
> Best regards,
> Luiz Poleto
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Making a simple link to another page

2008-09-12 Thread Donkeybob

is this a normal html link? then =>  echo $html->link('My Link', '/
your/view');

On Sep 12, 11:57 am, "Siegfried Hirsch" <[EMAIL PROTECTED]>
wrote:
> Use something like this:
>
> $this->element('your_element');
>
> On Fri, Sep 12, 2008 at 5:45 PM, gabriel <[EMAIL PROTECTED]> wrote:
>
> > I would like to make a simple link to a view which does not have a
> > controller and model, can anyone help me.
> > REgards
>
> --
> Siegfried Hirsch
> hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
> Fax +49 - (0)89 - 943 992 698 
> -http://www.rss-blogger.dehttp://www.newsbee.deNewsBee 2 - customized RSS 
> solutionshttp://abo-stop.dejetzt mit kostenlosem Kündigungsgenerator
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: for simple example to understand cake

2008-09-11 Thread Donkeybob

$html->image('funny.gif); <--- that creates a image tag with
'funny.gif' as the src . . . . enjoy

You can find more examples in the manual -> http://book.cakephp.org/
Searching this group and the world wide internets

On Sep 11, 5:05 am, akhilesh <[EMAIL PROTECTED]> wrote:
> hai all i am new for cake but i want to learn cake i want some simple
> example code to understand this can any one help me.
>
> thanks in advance.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: for simple example to understand cake

2008-09-11 Thread Donkeybob

$html->input();  --- that creates a textbox. enjoy

You can find more examples in the manual -> http://book.cakephp.org/
Searching this group and the world wide internets


On Sep 11, 5:05 am, akhilesh <[EMAIL PROTECTED]> wrote:
> hai all i am new for cake but i want to learn cake i want some simple
> example code to understand this can any one help me.
>
> thanks in advance.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Help with installation cakephp on xamp package

2008-09-10 Thread Donkeybob

could you post some of the errors you're getting? that could help us,
help you.

On Sep 10, 7:02 pm, gabriel <[EMAIL PROTECTED]> wrote:
> Hi, all. I have been reading a book by APRESS, called 'Beginning
> CakePHP from novice to Professional' in it, it says that if you have
> installed cake, and get the starting up screen without the fonts and
> colours on the page working then, there is an error. Cake will work
> but the scaffolding and other things might get errors..
>
> I have tried EVERTHING, I have uncommented the 'LoadModule
> rewrite_module modules/mod_rewrite.so', I have shared (in Vista) the
> app folder, I have included the following
> 
>     Options Indexes FollowSymLinks
>     AllowOverride ALL
> 
> in the httpd.conf folder...
> And restarted the server, and it does not seems to fix the problem, I
> have been going on with CAke and all seems fine, but sometimes I get
> errors, then I doubt myself, I don't know if it is my configuration or
> my coding...I would just like to know that everything works the way it
> is suppose to..
>
> hope is all make sense, and someone can help..
>
> 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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Html Helper

2008-09-10 Thread Donkeybob

yes . . .just as john said . . .its $form->input.

On Sep 10, 9:22 am, John David Anderson <[EMAIL PROTECTED]>
wrote:
> On Sep 10, 2008, at 1:35 AM, nayan wrote:
>
>
>
> > I am using cake 1.2 .When i use "echo $html->input('FanType/
> > fantype_name')" in my form.it give me the following error
> > "Method HtmlHelper::input does not exist [CORE\cake\libs\view
> > \helper.php, line 148]".can we use html helper in cake 1.2 ?
>
> Yes, but you use the FormHelper in 1.2 for forms. :)
>
> -- John
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Bakery Plan

2008-09-09 Thread Donkeybob

can we still talk about chocolate cakes?

On Sep 9, 12:19 pm, mark_story <[EMAIL PROTECTED]> wrote:
> On Sep 9, 12:28 am, Navin <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > My Name is Navin from a business family doing bakery business,,
> > I am looking for expansion of my business. Any experirnced inthis
> > business Advice...
>
> I think you came to the wrong place unfortunately.  This is a mailing
> list about CakePHP a programming framework for building websites and
> webapplications in PHP. It really has little to do with actual baking
> outside of jokes and references to people as bakers.  Sorry
>
> -Mark
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: biggner of cake php

2008-09-09 Thread Donkeybob

All you have to do is read the manual and run through the blog
tutorial. It will get you started. If you have complicated questions,
then ask here but not before you research them yourself. Google knows
all . . . plus search this group and check out #cakephp on
irc.freenode.net.

On Sep 9, 9:52 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Well, sure. How about this:
>
> http://book.cakephp.org/http://api.cakephp.org/http://bakery.cakephp.org/
>
> Good enough?
>
> On Sep 9, 11:02 am, akhilesh <[EMAIL PROTECTED]> wrote:
>
> > i am new for cake php and i want to learn cake can any one help me?
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Need help on Install

2008-09-09 Thread Donkeybob

one word . . . .xampp.

for xp, it is the beez kneez . . .

set up is easy and everything is done for you. apache, mysql,
php . . . .then edit the httpd.conf to add a virtual host.

i run many development sites from this configuration

On Sep 8, 8:09 pm, Pittore <[EMAIL PROTECTED]> wrote:
> I have apache2 up and running on my Windows XP Pro laptop
>
> I have established the following directory structure:
>
> Apache2
>    htdocs
>       cake
>
> When I typehttp://www.example.com/cake orhttp://www.example.com/
> I get "Page not found"
>
> some kind soul sent me these suggestions:
>
> 1. Create a simple static VirtualHost under Apache based on the
> simplehost
> example configuration file
> C:\www\Apache22\conf\extra\vhosts\_static\simplehost.com.conf
> a. Resave file as mydomain.com.conf, in the same folder, to duplicate
> it.
> b. Update all occurrences of 'simplehost.com' to 'mydomain.com'
> within.
> c. Create folder C:\www\Apache22\conf\extra\vhosts\_static\mydomain.com
> \
> d. Create folder C:\www\vhosts\_static\mydomain.com\ to be used as
> the
> container for this VirtualHost.
> e. Create log folder C:\Apache22\logs\mydomain.com\
>
> 2. Unpack cakephp as folder C:\www\vhosts\_static\mydomain.com\cake\
>
> 3. Modify this VirtualHost's configuration [mydomain.com.conf] and
> change
> DocumentRoot from...
> DocumentRoot "C:/www/vhosts/_static/mydomain.com"
> To...
> DocumentRoot "C:/www/vhosts/_static/mydomain.com/cake/app/webroot"
>
> 4. Restart Apache.
>
> However, I am stuck on step 1a and b...I don't know where to find the
> file:
>
>  'simplehost.com'
>
> any suggestions?   Help...I have been trying to configure cake now for
> 4 days am getting frustrated.
>
> -- Pittore
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: missing view

2008-09-08 Thread Donkeybob

If its Cake 1.2 then its a default.ctp file. . . .right?

On Sep 8, 2:56 pm, "Ranjana Sriavastava" <[EMAIL PROTECTED]>
wrote:
>  default.thml  page created under  Views.
>
> On Mon, Sep 8, 2008 at 9:57 PM, gabriel <[EMAIL PROTECTED]> wrote:
>
> > Hi, I am new to cake and are really frustrated with the basics. I have
> > created a default.thml in layouts, with the code  > $content_for_layout; ?>, then I created a test.thtml in pages, I point
> > the server to it and get a missing view error - anyone any ideas?
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: validation

2008-09-05 Thread Donkeybob

All you have to do is go through the tutorials and you'll pick it up.
Sorry to hear about your deadline but you might want to keep it simple
for your project.

On Sep 5, 2:39 pm, Ranju <[EMAIL PROTECTED]> wrote:
> Hello
>
> I think u r right. this is my first project with cakephp and tomorrow
> deadmin of my project. so i have not tims for more R & D that time .
> no other option instead ask to another person.
>
> On Sep 5, 11:05 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
>
> > Listen Ranju . . .you have to read the manual and just search in this
> > group to find your answers. It doesn't sound like you're doing that.
> > All of your questions can easily be found by reading the manual and
> > searching blogs. As a developer, you can't expect everything to be
> > handed to you unless you've actually tried to find these things on
> > your own.
>
> > I was able to create a fully functioning site complete with file
> > upload, ajax components, media display, validation, and all the bells
> > and whistle's within a few days of picking up cakephp . . .and i don't
> > know a thing about php. i was a dotnet developer. I did it all by
> > reading and teaching myself and troubleshooting my problems and
> > then . . . i asked questions. i hate to write all of this but your
> > posting makes it seem like you just want someone else to create a site
> > for you or you're a lazy programmer . . .i'm having a bad day
>
> > On Sep 5, 1:39 pm, Ranju <[EMAIL PROTECTED]> wrote:
>
> > > I wnat validation with my fields and set with and heiht of text boxes
> > > and other control
> > > Pls. help me.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: validation

2008-09-05 Thread Donkeybob

Listen Ranju . . .you have to read the manual and just search in this
group to find your answers. It doesn't sound like you're doing that.
All of your questions can easily be found by reading the manual and
searching blogs. As a developer, you can't expect everything to be
handed to you unless you've actually tried to find these things on
your own.

I was able to create a fully functioning site complete with file
upload, ajax components, media display, validation, and all the bells
and whistle's within a few days of picking up cakephp . . .and i don't
know a thing about php. i was a dotnet developer. I did it all by
reading and teaching myself and troubleshooting my problems and
then . . . i asked questions. i hate to write all of this but your
posting makes it seem like you just want someone else to create a site
for you or you're a lazy programmer . . .i'm having a bad day

On Sep 5, 1:39 pm, Ranju <[EMAIL PROTECTED]> wrote:
> I wnat validation with my fields and set with and heiht of text boxes
> and other control
> Pls. help me.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: HELP starting Cakephp

2008-09-05 Thread Donkeybob

The blog tutorial will get you started along with reading the manual.

On Sep 5, 2:33 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> Theres a book or two on amazon.
>
> Also read book.cakephp.org
>
> the only good
>
> > looking information I can find is on the IBM site and on the cakephp
>
> AFAIK those are outdated - I have no trouble finding blogs via google.
> Can't say they always look 'good' but there is a lot of solid info out
> there.
>
> heres 
> 1http://www.dustinweber.com/cakephp/getting-started-with-cakephp-no-fr...
>
> start with the blog tutorialhttp://book.cakephp.org/view/219/Blog
>
> if you have IRC is well worth trying.
>
> 2008/9/5 Abethebabe <[EMAIL PROTECTED]>
>
>
>
> > Hello, I really need help starting cakephp. I installed it but don't
> > know how to use it...I keep trying to find tutorials but each site has
> > a different installation, everything is in concise and the only good
> > looking information I can find is on the IBM site and on the cakephp
> > site.
>
> > So I want to know can anyone point me to a site with a good 'Hello
> > World' Cakephp introduction. It's just really frustrating me...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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: css and images

2008-09-04 Thread Donkeybob

You have to enable mod rewrite in your httpd.conf file . . .

this part -> 'LoadModule rewrite_module modules/mod_rewrite.so'

Just un-comment that and you should be good to go.

On Sep 4, 11:45 am, Sackjounas <[EMAIL PROTECTED]> wrote:
> Hello friends
>
> the question is,
>
> I'm new with cakephp, and I have it running in a wamp server
>
> I've read that there is something about a mod_rewrite issue that must
> be enabled in order to display CSS and images in my site, but still no
> luck
>
> I'm not an expert with apache servers, so, if there is an apache side
> solution, please be as simple as you can.
>
> I want to know what I'm doing wrong or what I'm still not doing.
>
> please excuse my english
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: forget password

2008-09-03 Thread Donkeybob

Cakephp doesn't have a built in "Forget Password". . . .you have to do
custom programming to get that.

On Sep 3, 12:47 am, "Ranjana Sriavastava" <[EMAIL PROTECTED]>
wrote:
> I also do that custom programming. I want know which typpe do that with
> cakephp.
> secondly i want  implement  captcha with registration page .this is urgent.
> pls help me.
>
> thanks
>
> On Wed, Sep 3, 2008 at 9:33 AM, Graham Weldon <[EMAIL PROTECTED]> wrote:
> > Hey Ranjana,
>
> > I would make the following suggestion: Make it a password reset system
> > instead of a reminder system.
> > This allows you to keep your password encrypted, and still email users with
> > information, without compromising security.
>
> > Once a user requests a password reset (via the website) send them off an
> > email with a unique key that is stored against their user id in the Users
> > table. This key field will be left empty or null if there is no password
> > reset request in progress.
>
> > Then create an action on your users controller that the user will go to
> > when they have the key in their email.
> > This action should check the email address, username, key, and if all match
> > successfully, provide a password reset input, where they can choose their
> > own new password.
>
> > I hope this gives you a little direction on what you need to be doing, and
> > how to achieve it.
>
> > Cheers,
> > Graham
>
> > On Wed, Sep 3, 2008 at 1:35 PM, Ranjana Sriavastava <[EMAIL PROTECTED]
> > > wrote:
>
> >> hello
>
> >> I wnat to forget passord via email id and send email to user email id with
> >> cakephp.
>
> >> On Wed, Sep 3, 2008 at 4:48 AM, Graham Weldon <[EMAIL PROTECTED]>wrote:
>
> >>> Hey Ranjana,
> >>> Were you looking to create a password reminder feature for a site you are
> >>> building?
> >>> Provide a little more detail about what you are trying to achieve, and
> >>> someone will be able to provide some direction or assistance.
>
> >>> Cheers,
> >>> Graham
>
> >>> On Tue, Sep 2, 2008 at 5:18 PM, Ranjana Sriavastava <
> >>> [EMAIL PROTECTED]> wrote:
>
>  I am new with cakphp. I want forget password with cakepho. so pls help
>  me.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: making webservices?

2008-09-03 Thread Donkeybob

Here is a few links I found. . . .haven't tried them yet . . .

http://www.littlehart.net/atthekeyboard/2007/03/13/how-easy-are-web-services-in-cakephp-12-really-easy/

Behavior: http://bakery.cakephp.org/articles/view/webservice-behavior

These should, at least, get you started . . .the google does wonders



On Sep 3, 7:35 am, "wael altahawi" <[EMAIL PROTECTED]> wrote:
> sorry the correct link ishttp://book.cakephp.org
>
> On Wed, Sep 3, 2008 at 12:15 PM, saumya <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I am pretty new here.I am going to work in Flex and PHP in my new
> > project. So thinking of using CakePHP and making webservices out of it
> > to be consumed by Flex. Can you good people outhere point me to a
> > place to getting started in webservices with this framework?
> > 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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: total html separation in views

2008-09-03 Thread Donkeybob

cake has a built-in template system . . . .why change it? Seems like
more work if you're using the framework anyways.

On Sep 3, 4:54 am, mariuz <[EMAIL PROTECTED]> wrote:
> In views i can use smarty or fasttemplate or any other template
> language but i'm not quite atracted about any of 
> themhttp://www.qadram.com/vcl4php/docwiki/index.php/Component_Writer%27s_...
> I wonder what if i use no template engine at all and keep the html
> separated and clean
> and use an simple dom parser for html "templates" or files
>
> http://simplehtmldom.sourceforge.net/and modify the html dom
> structure
>
> // Create DOM from string
> $html = str_get_html('Hello id="world">World');
>
> $html->find('div', 1)->class = 'bar';
>
> $html->find('div[id=hello]', 0)->innertext = 'foo';
>
> echo $html; // Output: foo class="bar">World
>
> or with jquery phpQuery - jQuery port to PHPhttp://code.google.com/p/phpquery/
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: captcha

2008-09-02 Thread Donkeybob

the google does wonders

On Sep 2, 1:29 pm, "Ranjana Sriavastava" <[EMAIL PROTECTED]>
wrote:
> I am new with cakephp. I want implement captcha in own site but i am unable
> to implement captcha. pls hep me.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: dropdown

2008-09-02 Thread Donkeybob

you need to read the manual  . . .this stuff is easy . . .i will give
you a hint though . . .$this->Model->find('list') . . .oh . . .see
what i did there . . .sneaky.

Good luck on figuring this stuff out. its all really simple. didn't
take me long. reading the manual . . .the google . . . drinking lots


On Sep 2, 1:31 pm, "Ranjana Sriavastava" <[EMAIL PROTECTED]>
wrote:
> I am new with php. I want implement country,state,city drop down with
> cakephp. so pls help me.
> 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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Provide Help To develop simple script write in CakePHP

2008-08-28 Thread Donkeybob

You'll have to read the manual -> http://book.cakephp.org/

Run through the blog tutorial to get your started ->
http://book.cakephp.org/view/219/blog

Nobody is going to provide you step-by-step here, when step-by-step
can be achieved by using the google, reading the manual, blogs,
searching this group . . . etc.


On Aug 28, 9:57 am, "divyesh karelia.usa"
<[EMAIL PROTECTED]> wrote:
> Hello all Member
>
> I am fresher for CakePHP. so Please Provide Help me.
>
> give me step by step to develop application
>
> i want develop simple script write in CakePHP say "Hello Word"
>
> give me step how to create this and give me properer directory
> structure we used in cakephp
>
> Thanking you anticipation
> Divyesh
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: no database table

2008-08-28 Thread Donkeybob

This is how i do it . . .in the model . . .

var $useTable = false;

works perfectly for me.


On Aug 27, 5:50 pm, "Abrar Arshad" <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 27, 2008 at 12:53 PM, BiraRai <[EMAIL PROTECTED]> wrote:
>
> > How to does one tell cakephp controller not to use a database table?
>
> >   Re:
>
>   so it means you dont want to use Model class,
>  so you can do it by using it like this
>  var $uses = array();
>  it will not use any table for your controller.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: File Upload -- help please

2008-08-25 Thread Donkeybob

yea . . . this was actually asked 5 days ago. the search box is an
amazing tool. . . .

http://groups.google.com/group/cake-php/browse_thread/thread/e77705247cfb0d44/bb04ce1ecdc1b217#bb04ce1ecdc1b217

On Aug 25, 9:30 am, "Astha Shukla" <[EMAIL PROTECTED]> wrote:
> Hi,
> Could any one please teach me,, How can I upload a file in to server folder
> using CakePHP (I do not want to store a file into database)
> for example I have a file say add.thtml in view folder that is uploading a
> file and I have add function in cotroller, what code should I need to write
> in add.thml and in add function to enable file upload.
> Thanks in advance
> Astha
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: File upload

2008-08-19 Thread Donkeybob

This tutorial helped me a lot! -> 
http://www.keithmedlin.com/2008/01/cakephp-12-file-upload/

It moves the files on the server and also creates a db record . . .

I modified the section in the model that gets the path and moves the
file to reflect the directory structure i wanted . . -> WWW_ROOT.'/
files/'."$fileName"

Hope this is a good start position.

rich

On Aug 19, 4:18 pm, bartez <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I've scouted both here and the bakery etc and have had no success in
> finding the answer to my problem.
>
> I would like to upload an image and save it in a file system (not a
> database).
>
> I would like the structure to be as follows
>
> img
>     / items
>         / groups
>             /id
>                 /each individual image here
>
> I've done this before in normal php but I'm sure there must be a cake
> way!!
>
> Thanks for your help in advance.
>
> Alex
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Problem with Cake and Vista

2008-08-19 Thread Donkeybob

I got my xampp and cakephp to work perfectly with vista. I didn't have
to change anything in my .conf file except to un-comment the
mod_rewrite module. granted I also have several virtual sites set up
for all my projects. . . .but it works right out of the box. like the
other richard said, make sure you restart apache after every edit.

Rich


On Aug 19, 5:19 am, giulio <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes I reboot the system.
>
> Someone as a httpd.conf file for xmapp and vista that works and can
> post it?
>
> I think that it'll be useful.
>
> Thanks for the help
>
> Giulio
>
> On 19 Ago, 10:15, RichardAtHome <[EMAIL PROTECTED]> wrote:
>
> > Did you reboot apache after you made changes to httpd.conf?
>
> > And, btw, Cake with Apache & PHP on Vista is entirely possible - I'm
> > doing it right now :-)
>
> > On Aug 19, 7:49 am, giulio <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I'm new of cake php.
>
> > > I'm trying to install cakephp in windows vista, i downloaded and
> > > installed xampp and all seems to be fine.
>
> > > I've followed the instructions for cake php and it goes well.
>
> > > I've only some problems:
>
> > > 1- I can't see the graphic of the default cake php page, i read that
> > > it depends of configuratione of httpd.conf so i set the options
> > > FollowSyLinks to AllowOverride All and the correct path, but i've not
> > > solved the problem
>
> > > 2- I tried with a simple cake php application made by other (a
> > > todolist application ) but when i write the 
> > > controllerhttp://localhost/todo/items
> > > i can see only the result Object not found... maybe are there problems
> > > with htaccess? I able mod rewrite.
>
> > > If someone has a file httpd.conf please send me this file to me, so i
> > > can solve all the configurations problems.
>
> > > Thanks Giulio
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---