Re: Users table

2008-05-24 Thread Changoso

is this the same or uses ACLBehaivor?

On 25 mayo, 00:58, Changoso <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I just downloaded the new cakephp 1.2.x version and i hear it now
> comes with some libs for making the authorization automaticlly
>
> I mean, make a users table and it will automaticlly work with
> permissions.
>
> I've quick-looked for some tutorials but all i find is 2007 tutorials
> which i believe they are not because the new version is 2008.
>
> so.. do you know how to make the user table? or... is there a tutorial
> for this? sorry if its a stupid question for you :(
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Users table

2008-05-24 Thread Changoso

Hello!

I just downloaded the new cakephp 1.2.x version and i hear it now
comes with some libs for making the authorization automaticlly

I mean, make a users table and it will automaticlly work with
permissions.

I've quick-looked for some tutorials but all i find is 2007 tutorials
which i believe they are not because the new version is 2008.

so.. do you know how to make the user table? or... is there a tutorial
for this? sorry if its a stupid question for you :(
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



how to make this statement $session->write('Config.language', $locale); work in view ?

2008-05-24 Thread robert123

I have  a multi language website with caching

 At the view there is some no cache tag to record which locale the
user is currently in and it has to be stored in the session.

So I need to store data into session at the view page,

Strangely this statement works
 $session->read('Config.language');

but the below statement will not work in the nocache tag in the cached
view
$session->write('Config.language', $locale);

$locale is just string variable to represent the user locale

Can anyone highlight how to make $session->write('Config.language',
$locale); works?


Thank you
--~--~-~--~~~---~--~~
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: FindAll and multi-record form "convention over configuration" right?

2008-05-24 Thread Jonathan Snook

>  echo $form->input("$i.time");
>  echo $form->input("$i.category_id");

Have you tried,

echo $form->input("ModelName.field_name.$i");

I believe this will return everything as an array on the backend that
you can loop through. Mind you, you may have to fill the value in for
those manually.

--~--~-~--~~~---~--~~
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: temporarily change locale to send mail?

2008-05-24 Thread b logica

I got this to work by changing the language in the MembersController
before calling the requestAction for Users. I guess it didn't work
before because requestAction is kind of special. However, though I'm
resetting the language back to the original right after that, the view
presented to the browser also switches to the user's preferred
language.

I then tried putting the logic in MembersController beforeFilter() &
afterFilter() with the same result. So, I moved the afterFilter logic
to beforeRender(). Again, the email uses the proper locale but causes
the view to switch as well.

In any case, putting the logic in this controller is far from ideal
because I'd need to do the same in several others.

I'm pretty much out of ideas but I can't believe that this is impossible.

On Sat, May 24, 2008 at 11:01 PM, b logica <[EMAIL PROTECTED]> wrote:
> My Users controller sends out an email with a login & password when an
> admin enables a member, who can specify a language of choice for
> communications. Thus, I'd like to be able to switch the locale,
> regardless of whatever the admin is using, just for this email.
> Actually, there are several places I'd like to do this, but let's take
> the password msg as an example.
>
> The way it works is the MembersController::admin_[add||edit]() will
> call Users::add() through a requestAction, passing the params that are
> required. In case you're wondering, I need to do it this way because I
> have several types of "members", all of which need their own
> models/controllers, so roles for one model are out. All of these
> "members" require an entry in the users table in order to log in.
>
> I'm using a SwiftMailer component, modified from the one posted at the
> bakery to work with the 1.2.x branch. It renders the views pretty much
> the same as the built-in EmailComponent:
> -- snip --
> $old_layout = $this->controller->layout;
> $this->controller->layout = '';
> ob_start();
> echo $this->controller->render(null, null, $view);
> $plain_msg = strip_tags(ob_get_clean());
> $this->controller->layout = $old_layout;
> -- snip --
>
> After studying the L10N & i18n classes, it seems that all i need to do
> is the following in the controller:
> -- snip --
> Configure::write('Config.language', $this->params['language']);
> $this->SwiftMailer->applyView($view);
> $this->SwiftMailer->send();
>
> /* $this->lang is set in AppController, btw
>  */
> Configure::write('Config.language', $this->lang);
> -- snip --
>
> Contents of the view:
> 
>
> To make a long story short, this ain't working for me. I also tried
> setting $language & $old_language in the controller and wrapping the
> sprintf() with:
>
> Configure::write('Config.language', $language);
> ...
> Configure::write('Config.language', $old_language);
>
> I knew it wouldn't work, but hey.
>
> I also tried this in the users controller:
>
> function beforeFilter()
> {
>parent::beforeFilter();
>
>if ($this->params['action'] == 'add')
>{
>Configure::write('Config.language', $this->params['language']);
>}
> }
>
> function afterFilter()
> {
>if ($this->params['action'] == 'add')
>{
>Configure::write('Config.language', $this->lang);
>}
>
>/* OT QUESTION: should I put the following before, or after, my own 
> logic?
> */
>parent::afterFilter();
> }
>
> which I figured would *have* to work, but no dice. Old-timers will be
> happy to know that I tried this after asking in this mail if it would
> work and then realising that I could damn well just go try it for
> myself
>
> So, does anyone have any insight into this? This is one of the last
> hurdles to getting this site completely multilingual. I guess the next
> thing I could try is passing the language to the SwiftMailer
> component, though I'm doubtful that would make any difference,
> considering what hasn't worked so far. Also, I'd prefer to keep that
> component language-agnostic, as all it needs to know is which view(s)
> to use.
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



how to include use session component in the view, when the view is cache

2008-05-24 Thread robert123

hi,

I need to use the session component in the view, but the view is
cached, hence it will not go to the controller,

in the view there is nocache tag, in between the nocache tag, there is
some code where I need to store some data into the session, but I am
not sure how to call the session component there, anyone can help?
Thanks


www.generics.ws
www.genericsmed.com
--~--~-~--~~~---~--~~
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: When to make a custom model/datasource?

2008-05-24 Thread b logica

I think it'd be better to create components through which to access
these services.

On Sat, May 24, 2008 at 1:58 PM, the_woodsman <[EMAIL PROTECTED]> wrote:
>
> Hi Bakers,
>
> I'm facing a design decision and I'd like to know people's opinions.
>
> In my new project, I'm going to use various third party services,
> including photo stores like Flickr, Picasa, Facebook, and Payment
> Gateways too.
>
> I'm trying to decide which of the above kinds of services are best
> implemented as models/datasources, if any.
>
> It would be nice to access Photo services with a call to find(), but
> it's unlikely I'll ever save to these services.
> I have to take into account that datasources have minimal
> documentation (to my knowledge, and I'm not moaning) and don't look
> that fun to code!
>
> Any opinions / guidelines about when it's appropriate to use a
> customised model, and when it's just overkill, would be 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: how to write data into session in the view

2008-05-24 Thread robert123

Thank you for the reply,

I dont have much choice regarding this, I know it is a bad place to
write session data in the view

But because the this is a multilanguage website with caching, hence it
will not goes to the controller,

but at the view there is some no cache tag to record which locale the
user is currently in and it has to be stored in the session.

So I need to store data into session at the view page, thank you

On May 25, 11:05 am, "b logica" <[EMAIL PROTECTED]> wrote:
> I doubt that the view is the best place for this. Do you have a
> compelling reason? Maybe there's a way to do what you want in the
> controller.
>
> Also, are you sure you want 'Config.language'? Unless you're setting
> the locale, you really should choose a different name, unless you're
> not using Cake's localisation classes.
>
> On Sat, May 24, 2008 at 8:29 PM, robert123 <[EMAIL PROTECTED]> wrote:
>
> >  I am trying to write some data into the session object at the view,
> >  below is the statement, but it will not write into it session, anyone
> > can
> >  help? Thanks
>
> > On May 25, 8:28 am, robert123 <[EMAIL PROTECTED]> wrote:
> >> Hi,
>
> >> I am trying to write some data into the session object at the view,
> >> below is the statement, but it will write into it session, anyone can
> >> help? Thanks
>
> >> $session->write('Config.language', 'data');
>
> >>www.generics.ws
> >www.genericsmed.com
--~--~-~--~~~---~--~~
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: Set::matches and regexp question

2008-05-24 Thread b logica

Just a guess: Set uses XPath expressions, which require doubling the
braces: {{4}}

On Sat, May 24, 2008 at 4:50 PM, ianh <[EMAIL PROTECTED]> wrote:
>
> I came across the new Set::matches method. Its just genius so kudos to
> whoever came up with that. Obviously there aren't many examples around
> - mostly in the Containable test so Im a bit stuck on just how good it
> can be.
>
> One of the examples shows that Set::matches('/Comment[text=/cakephp/
> i', $data) will match $data['Comment']['text'] = cakephp; but what
> other regexps can be done?
>
> For example, playing around, I couldnt do Set::matches('/Comment[text=/
> [a-z]{4}/i', $data) because the method kept spitting out Unexpected
> PHP error [preg_match() [function.preg-match]: No ending delimiter '/' found]
> severity errors.
>
> Am I missing something on how to do this or can it simply not be done
> at the moment?
>
> Cheers. ianh
> >
>

--~--~-~--~~~---~--~~
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 to write data into session in the view

2008-05-24 Thread b logica

I doubt that the view is the best place for this. Do you have a
compelling reason? Maybe there's a way to do what you want in the
controller.

Also, are you sure you want 'Config.language'? Unless you're setting
the locale, you really should choose a different name, unless you're
not using Cake's localisation classes.

On Sat, May 24, 2008 at 8:29 PM, robert123 <[EMAIL PROTECTED]> wrote:
>
>
>
>  I am trying to write some data into the session object at the view,
>  below is the statement, but it will not write into it session, anyone
> can
>  help? Thanks
>
>
> On May 25, 8:28 am, robert123 <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I am trying to write some data into the session object at the view,
>> below is the statement, but it will write into it session, anyone can
>> help? Thanks
>>
>> $session->write('Config.language', 'data');
>>
>> www.generics.ws
> www.genericsmed.com
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



temporarily change locale to send mail?

2008-05-24 Thread b logica

My Users controller sends out an email with a login & password when an
admin enables a member, who can specify a language of choice for
communications. Thus, I'd like to be able to switch the locale,
regardless of whatever the admin is using, just for this email.
Actually, there are several places I'd like to do this, but let's take
the password msg as an example.

The way it works is the MembersController::admin_[add||edit]() will
call Users::add() through a requestAction, passing the params that are
required. In case you're wondering, I need to do it this way because I
have several types of "members", all of which need their own
models/controllers, so roles for one model are out. All of these
"members" require an entry in the users table in order to log in.

I'm using a SwiftMailer component, modified from the one posted at the
bakery to work with the 1.2.x branch. It renders the views pretty much
the same as the built-in EmailComponent:
-- snip --
$old_layout = $this->controller->layout;
$this->controller->layout = '';
ob_start();
echo $this->controller->render(null, null, $view);
$plain_msg = strip_tags(ob_get_clean());
$this->controller->layout = $old_layout;
-- snip --

After studying the L10N & i18n classes, it seems that all i need to do
is the following in the controller:
-- snip --
Configure::write('Config.language', $this->params['language']);
$this->SwiftMailer->applyView($view);
$this->SwiftMailer->send();

/* $this->lang is set in AppController, btw
 */
Configure::write('Config.language', $this->lang);
-- snip --

Contents of the view:


To make a long story short, this ain't working for me. I also tried
setting $language & $old_language in the controller and wrapping the
sprintf() with:

Configure::write('Config.language', $language);
...
Configure::write('Config.language', $old_language);

I knew it wouldn't work, but hey.

I also tried this in the users controller:

function beforeFilter()
{
parent::beforeFilter();

if ($this->params['action'] == 'add')
{
Configure::write('Config.language', $this->params['language']);
}
}

function afterFilter()
{
if ($this->params['action'] == 'add')
{
Configure::write('Config.language', $this->lang);
}

/* OT QUESTION: should I put the following before, or after, my own 
logic?
 */
parent::afterFilter();
}

which I figured would *have* to work, but no dice. Old-timers will be
happy to know that I tried this after asking in this mail if it would
work and then realising that I could damn well just go try it for
myself

So, does anyone have any insight into this? This is one of the last
hurdles to getting this site completely multilingual. I guess the next
thing I could try is passing the language to the SwiftMailer
component, though I'm doubtful that would make any difference,
considering what hasn't worked so far. Also, I'd prefer to keep that
component language-agnostic, as all it needs to know is which view(s)
to use.

--~--~-~--~~~---~--~~
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 to write data into session in the view

2008-05-24 Thread robert123



 I am trying to write some data into the session object at the view,
 below is the statement, but it will not write into it session, anyone
can
 help? Thanks


On May 25, 8:28 am, robert123 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to write some data into the session object at the view,
> below is the statement, but it will write into it session, anyone can
> help? Thanks
>
> $session->write('Config.language', 'data');
>
> www.generics.ws
www.genericsmed.com
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



how to write data into session in the view

2008-05-24 Thread robert123

Hi,

I am trying to write some data into the session object at the view,
below is the statement, but it will write into it session, anyone can
help? Thanks

$session->write('Config.language', 'data');



www.generics.ws
www.genericsmed.com
--~--~-~--~~~---~--~~
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: FindAll and multi-record form "convention over configuration" right?

2008-05-24 Thread Marcelius

For my project I did create 2 convert functions: One dat converts the
array returned from findAll methods to {Model}.{n}.{Field}, and one
visa versa. I've made this on 1.2.6311 and don't know what changes
have been regarding this but still works for me...

I too had some problems with the formhelper not finding correct data,
or not showing validation errors, but with the array rewrite stuff it
does work like it should be. Only convention is that the name of your
input fields should be in the same path format as the array in $this-
>data (like "MyModel.5.category_id")

Marcel

On 24 mei, 15:52, troyp <[EMAIL PROTECTED]> wrote:
> I'm just learning and I don't get it.  I am trying to follow the
> concept of convention over configuration and finding issues.
>
> I want a multi-record form so I perform a findAll(...) to get the
> data.
>
> Then I make the form calls
>
>   echo $form->input("$i.time");
>   echo $form->input("$i.category_id");
>
> The problem is that it appears that findAll is using a different
> keypath to create the array than the FormHelper is assuming.
>
> findAll returns an array of this form {n}.{Model}.{Field}
>
> while FormHelper is assuming {Model}.{n}.{Field}
>
> Seems like a terrible waste of time (and code) to have  me make
> another copy of the data with a different keypath.  I must be missing
> something.
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
>       Troy
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Set::matches and regexp question

2008-05-24 Thread ianh

I came across the new Set::matches method. Its just genius so kudos to
whoever came up with that. Obviously there aren't many examples around
- mostly in the Containable test so Im a bit stuck on just how good it
can be.

One of the examples shows that Set::matches('/Comment[text=/cakephp/
i', $data) will match $data['Comment']['text'] = cakephp; but what
other regexps can be done?

For example, playing around, I couldnt do Set::matches('/Comment[text=/
[a-z]{4}/i', $data) because the method kept spitting out Unexpected
PHP error [preg_match() [function.preg-match]: No ending delimiter '/' found]
severity errors.

Am I missing something on how to do this or can it simply not be done
at the moment?

Cheers. ianh
--~--~-~--~~~---~--~~
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: Sluggable behavior and recent cake 1.2 from svn

2008-05-24 Thread Sam Sherlock
works fine for me using latest svn
- S

2008/5/24 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

>
> Hi,
> i use the Sluggable behavior which worked mike a charm until the very
> last svn update from CakePHP 1.2 (around may 22th 2008) i made - it
> fails, silently which is worse - no slug created. Has anyone any clue
> why or what in the recent updates of Cake can casue this ?
>
> Raphaele
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



When to make a custom model/datasource?

2008-05-24 Thread the_woodsman

Hi Bakers,

I'm facing a design decision and I'd like to know people's opinions.

In my new project, I'm going to use various third party services,
including photo stores like Flickr, Picasa, Facebook, and Payment
Gateways too.

I'm trying to decide which of the above kinds of services are best
implemented as models/datasources, if any.

It would be nice to access Photo services with a call to find(), but
it's unlikely I'll ever save to these services.
I have to take into account that datasources have minimal
documentation (to my knowledge, and I'm not moaning) and don't look
that fun to code!

Any opinions / guidelines about when it's appropriate to use a
customised model, and when it's just overkill, would be 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: FindAll and multi-record form "convention over configuration" right?

2008-05-24 Thread Reza Muhammad


On May 24, 2008, at 8:52 PM, troyp wrote:

>
> I'm just learning and I don't get it.  I am trying to follow the
> concept of convention over configuration and finding issues.
>
> I want a multi-record form so I perform a findAll(...) to get the
> data.
>
> Then I make the form calls
>
>  echo $form->input("$i.time");
>  echo $form->input("$i.category_id");
Just to make sure, there shouldn't be a variable sign over there.  You  
only need to put 'Model.field', so by putting $form- 
 >input('Product.name'), it will automatically maps to name field in  
your products table.

> The problem is that it appears that findAll is using a different
> keypath to create the array than the FormHelper is assuming.
>
> findAll returns an array of this form {n}.{Model}.{Field}
>
> while FormHelper is assuming {Model}.{n}.{Field}
>

You only need to change your foreach statement.  If the array is  
resulting {n}.{Model}.{field}, then you use foreach ($var as $v), then  
inside your foreach statement you call it by $v['Model']['field']

But, if the resulting array is {Model}.{n}.{Field}, you use foreach  
($var['Model'] as $v), then you call it by $v['Field'] inside the  
statement.

> Seems like a terrible waste of time (and code) to have  me make
> another copy of the data with a different keypath.  I must be missing
> something.
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
>  Troy
>
> >


--~--~-~--~~~---~--~~
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: configure ------- please help !!!!!!!!!

2008-05-24 Thread Reza Muhammad

Hi.

On May 24, 2008, at 1:32 AM, adroit wrote:

>
> Hello All,
>
> I am new to CakePHP framework and I am having a tough time with the
> correct installtion.
> So far I get to see the default page after installation
> -
> CakePHP release information is on CakeForge
> Read the release notes and get the latest version
> Editing this Page
>
> - and so on ---
> 
> but after making changes to database.php
> I should get
> 
> CakePHP release information is on CakeForge
>
> Your database configuration file is present.
> Cake is able to connect to the database.
>
> --- and so on --
> 

Go to the command line, and see if you can login to mysql:
If your mysql/bin directory is located in C:\MySQL\bin, go to that  
directory, and do:
mysql -uroot -p newpassword
Once you're in the mysql prompt, do:
mysql> show databases;

See if your database (test) is present.
>
>
> I have unzipped CakePHP in the root directory
> D:/web/test. I would like to tell that I have Apache 2, PHP 5 and
> MySQL 5 and phpmyAdmin all configured before and is working fine.
>
> I made the following changes to httpd.conf
>
> 1; LoadModule rewrite_module modules/mod_rewrite.so - uncommented
> 2; 
> Options FollowSymLinks
> AllowOverride All ( Changed to All from NONE )
> 
>
Hm, when you set the root directory to D:/web/test, that means you  
have a similar entry of DocumentRoot in your httpd.conf, and you can  
access is it through http://localhost/ ?

If your DocumentRoot is set to D:/web/, you have to add:
RewriteBase /test/ in:
- test/.htaccess file
- test/webroot/.htaccess file


> changed to database.php file
>
> 'connect' => 'mysql_connect',
> 'host' => 'localhost',
> 'login' => 'root',
> 'password' => 'newpassword',
> 'database' => 'test',
> 'prefix' => '');
>
> but still it is not working. Please let me know what else changes
> should I make to to configure database and to connect to database.
>
> >


--~--~-~--~~~---~--~~
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: fill dropdown by cake from database model???

2008-05-24 Thread Reza Muhammad

On May 24, 2008, at 12:54 PM, vishal wrote:
> ... snip..
>
> I have two models(database table):User,Message
>
> I want place a drop down in my Message view file as :
>
> select('messageto', $options=array(), null, array(),
> '--
> select member--'); ?>
> I want to fills this drop down from my another table (user table)
> i.e i want to fill it dynamically from database table.
>
You can set something like this in your controller:
$users = $this->User->find('list');
$this->set(compact('users'));

Assuming that the Message model and User model has relationships, you  
only need to put this in your view:
input('user_id'); ?>

To make things easier, in your User model, you should have var  
$displayField = 'full_name';
So when you have $form->input('user_id') in your message view, you  
will have a dropdown menu, with value="user's id", and what's shown in  
the dropdown is full_name field in your users table.
> Also when i edit the message ,the drop down value should be the same
> as their id.i.e
> it select the proper value (not the first one everytime).
>
According to CookBook (http://book.cakephp.org/view/182/forms), you  
can have $options['selected'].

I used this in my checkbox button, and it worked.  It should also work  
with a dropdown menu.
It should then more or less looks something this in your view.

input('user_id', array('selected', $users['User'] 
['user_id']));

Hope that helps.

> this is my controller file code for Message:
>
> **
>
>  class MessagesController extends AppController {
>
>var $name = 'Messages';
>var $layout='user';
>
>
>var $paginate = array(
>'limit' => 4,
>'order' => array(
>'Message.messagedate' => 'asc'
>)
>);
>
>
>
>
>function index() {
>//$this->set('messages', $this->User->findAll(''));
>$data = $this->paginate('Message');
>  $this->set(compact('data'));
>
>}
>
>function view($id) {
>$this->Message->id = $id;
>$this->set('Message', $this->Message->read());
>
>}
>
>function delete($id) {
>$this->Message->del($id);
> $this->flash('The message with id: '.$id.' has been deleted.',  
> 'http://
> 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/index');
> }
>
>function add() {
>
>
>
>if (!empty($this->data)) {
>if ($this->Message->save($this->data)) {
>
>
>$this->flash('Your Message has been saved.','http://
> 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/index');
>}
>
>}
>}
>
>
>function edit($id = null) {
>$this->Message->id = $id;
>if (empty($this->data)) {
>$this->data = $this->Message->read();
>} else {
>if ($this->Message->save($this->data['Message'])) {
>$this->flash('Your Message has been updated.',
> array('action' =>
> 'index'));
>}
>}
> }
>
> }
> ?>
>
>
> **
>
>
> So my friend please help me in this issue,it is very urgent for me,
> otherwise i have to put the
> query manually,but i want to fill the dropdown by cake method.
>
> Thanks in advance..
>
> Vishal
> One world Technologies,
> Ambala Cantt
> India
>
> >


--~--~-~--~~~---~--~~
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: Better web hosts for cakephp

2008-05-24 Thread Novice Programmer
apthost has worked well for me for cake applications.

Thanks.

On Sat, May 24, 2008 at 11:17 AM, k10 <[EMAIL PROTECTED]> wrote:

>
> Hi All,
>
> I am in the process of finding a webhost for my cake-app. Its a
> commercial (ecommerce app) so reliability n speed are the imp
> criteria. I was wondering which are the better webhosts (dedicated and
> shared hosts both) and what your experiences have been regarding the
> same. I am more inclined to go for a shared host for the time being
> since its a startup and I want to test the waters first.
>
> Thanks for your feedback in advance.
>
> Regards,
> -Ketan.
>
> >
>


-- 
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).

--~--~-~--~~~---~--~~
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: Problems realizing a User/Group system with ACL

2008-05-24 Thread Prophet

How is it easy when my users/groups are ordered hirarchical? As
written above i thought of that but it seemed the AclBehaviour is to
limited to realize something like that. Or where you thinking of
writing your own behaviour?

On 23 Mai, 23:43, francky06l <[EMAIL PROTECTED]> wrote:
> If your group are hierarchical  it's easy, otherwise maybe an ACL
> linked to a join HABTM model user_groups can be the solution ... I
> have done something like this, but not for managing user/group, so
> just a hint ..
> hth
>
> On May 23, 6:24 pm, mcjustin <[EMAIL PROTECTED]> wrote:
>
> > I've found that I can have multiple instances of an ARO leaf across
> > the tree (a user in many groups), but that non-leaf ARO's will not fxn
> > properly if there's more than one instance of them...
>
> > (hoping that someone else while comment as well!)
>
> > On May 23, 6:18 am, Prophet <[EMAIL PROTECTED]> wrote:
>
> > > Hello,
>
> > > I want to create a User/Group permission system with help of ACL. But
> > > i have a few problems realizing that.
>
> > > Can an ARO have multiple parents or does it depend on a tree sturcture
> > > with one possible path for each ARO? For example if i say
> > > UserAro.parent belongs to Group1Aro, Group2Aro and Group3Aro? How does
> > > check then work? If this behaviour is enabled there are multiple
> > > paths, is something allowed when one of the paths is allowed or only
> > > when all of them are (i wouldn't suspect that...)? How can i show a
> > > User HABTM Group relationship with AROs if only tree structure is
> > > allowed?
>
> > > Does AclBehavior depend on the fact that the id of my model matches
> > > the id of the ARO or does it work with aliases to? How can i realize a
> > > User/Group system if it depends on id? Aro 1 can't be connected with
> > > Group and User 1 (the same problem occures when using aliases for ARO
> > > matching...). I as human would know that top level AROs (aro.parent =
> > > null) are groups and second level elements (aro.parent.parent = null)
> > > are users, can i tell that to my AclBehavior in combination to using
> > > ARO aliases for matching? In that case double aliases would work
> > > again. Or do i have to create my own behavior, based on AclBehavior?
>
> > > Do i have to create a parentNode method within my model when i want to
> > > use AclBehavior and it shall create subnodes of a ARO? What does the
> > > parentNode function return? Ids or aliases?
>
> > > Am i going the wrong way to realize this?
>
> > > Greetings, Prophet
>
>

--~--~-~--~~~---~--~~
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: Is creating a digg clone hard for you? How hard?

2008-05-24 Thread Joaquín Windmüller

The only useful thing about bringin a "implement digg with CakePHP" is
that bakery should be more social an less editorial like it is now.

On May 24, 4:52 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Was hoping "Kube" would be linked somehow to "Cube" data mining
> etc ... pf ... disapointed
> Spamming 100%
>
> On May 23, 11:37 pm, Raistlin Majere <[EMAIL PROTECTED]> wrote:
>
> > rewording
>
> > Take a look at the source code and the number of files of phpdug.
>
> > click choose download at
>
> >http://www.kubelabs.com/phpdug/
>
> > and select 1.4.2
>
> > How much time and money would you need to create a phpdug if
> > programming in CakePHP?
>
> > Take a look at the demonstration of phpdug.
>
> >http://demos.kubelabs.com/PHPDug/
>
> > How many lines of code would a phpdug need if programmed in CakePHP?
>
> > On May 23, 7:35 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
>
> > > Other than spamming the list - is there a point to this mail that I am
> > > missing?
>
> > > The app is *not* cakePHP based.
>
> > > Tarique
>
> > > On Fri, May 23, 2008 at 10:51 AM, Raistlin Majere <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > Take a look at the source code and the number of files of phpdug.
>
> > > --
> > > =
> > > Cheesecake-Photoblog:http://cheesecake-photoblog.org
> > > PHP for E-Biz:http://sanisoft.com
> > > =

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Better web hosts for cakephp

2008-05-24 Thread k10

Hi All,

I am in the process of finding a webhost for my cake-app. Its a
commercial (ecommerce app) so reliability n speed are the imp
criteria. I was wondering which are the better webhosts (dedicated and
shared hosts both) and what your experiences have been regarding the
same. I am more inclined to go for a shared host for the time being
since its a startup and I want to test the waters first.

Thanks for your feedback in advance.

Regards,
-Ketan.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



FindAll and multi-record form "convention over configuration" right?

2008-05-24 Thread troyp

I'm just learning and I don't get it.  I am trying to follow the
concept of convention over configuration and finding issues.

I want a multi-record form so I perform a findAll(...) to get the
data.

Then I make the form calls

  echo $form->input("$i.time");
  echo $form->input("$i.category_id");

The problem is that it appears that findAll is using a different
keypath to create the array than the FormHelper is assuming.

findAll returns an array of this form {n}.{Model}.{Field}

while FormHelper is assuming {Model}.{n}.{Field}

Seems like a terrible waste of time (and code) to have  me make
another copy of the data with a different keypath.  I must be missing
something.

Any suggestions would be greatly appreciated.

Thanks,
  Troy

--~--~-~--~~~---~--~~
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: TortoiseCVS

2008-05-24 Thread [EMAIL PROTECTED]

to have the last version of the cake directory
https://svn.cakephp.org/repo/branches/1.2.x.x/cake/l

On May 23, 9:26 am, Andraž <[EMAIL PROTECTED]> wrote:
> Hello!
>
> How can I checkout from SVN with TortoiseCVS. I'm never did this. Whic
> password, username and protocol I must use?
>
> Regards Andraz

--~--~-~--~~~---~--~~
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: Is creating a digg clone hard for you? How hard?

2008-05-24 Thread Eduardo

sorry, that's bullshit

On May 23, 2:21 am, Raistlin Majere <[EMAIL PROTECTED]> wrote:
> Take a look at the source code and the number of files of phpdug.
>
> click choose download at
>
> http://www.kubelabs.com/phpdug/
>
> and select 1.4.2
>
> How much time and money is needed to create a phpdug?
>
> Take a look at the index page of phpdug.
>
> http://demos.kubelabs.com/PHPDug/
>
> Did you imagine that phpdug would need so many lines of code?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Sluggable behavior and recent cake 1.2 from svn

2008-05-24 Thread [EMAIL PROTECTED]

Hi,
i use the Sluggable behavior which worked mike a charm until the very
last svn update from CakePHP 1.2 (around may 22th 2008) i made - it
fails, silently which is worse - no slug created. Has anyone any clue
why or what in the recent updates of Cake can casue this ?

Raphaele

--~--~-~--~~~---~--~~
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: Problems displaying an image from a controller action using readfile()

2008-05-24 Thread Dave J

Hi Lauren,

try setting
$this->autoRender = false (instead of setting the layout to
empty), this way Cake won't send anything out to the browser.

also, you might want to try:
header('Content-Type: image/jpeg');
(notice the 'jpeg' instead of 'jpg')

See if that helps

Dave


On May 23, 9:52 pm, lauren <[EMAIL PROTECTED]> wrote:
> Hi,
>
> So I've had this working perfectly. The images are stored above the
> webroot
>
> /app
>     /uploads
>         img01.jpg
>
> The controller has an action which accepts the file name of the image,
> adds some HTTP headers and outputs the image contents using
> readfile().
>
> Now I can't be 100% sure but it seemed to start happening after I
> enabled Cake's caching feature. However, I've since disabled it but
> the problem remains.
>
> I've spent a few hours debugging this and here is what I've come up
> with so far:
>
> I can get the images to display correctly in my browser with a simple
> test script (no Cake) containing the following code:
> $file = 'path/to/img001.jpg';
> header('Content-Type: image/jpg');
> header('Content-Length: ' . filesize($file));
> readfile($file);
>
> So to me that rules out Apache or PHP as potential culprits.
>
> 
> The HTTP headers from my test script
> http://localhost/test.php
>
> GET /test.php HTTP/1.1
> Host: localhost
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:
> 1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
> Accept: text/xml,application/xml,application/xhtml+xml,text/
> html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
>
> HTTP/1.x 200 OK
> Date: Fri, 23 May 2008 19:47:02 GMT
> Server: Apache/2.2.3 (Win32) PHP/5.2.0
> X-Powered-By: PHP/5.2.3
> Content-Length: 2116
> Keep-Alive: timeout=5, max=100
> Connection: Keep-Alive
> Content-Type: image/jpg
> --
>
> 
> The HTTP headers from the request in Cake:
> http://devel.domain.com/controller/displayFile/4/2.jpg/thumb
>
> GET /controller/displayFile/4/2.jpg/thumb HTTP/1.1
> Host: devel.domain.com
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:
> 1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
> Accept: text/xml,application/xml,application/xhtml+xml,text/
> html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie: CAKEPHP=crtafp53f202pombn3cmj83og5
>
> HTTP/1.x 200 OK
> Date: Fri, 23 May 2008 19:48:03 GMT
> Server: Apache/2.2.3 (Win32) PHP/5.2.0
> X-Powered-By: PHP/5.2.3
> P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
> Content-Length: 2120
> Keep-Alive: timeout=5, max=99
> Connection: Keep-Alive
> Content-Type: image/jpg
> --
>
> I've tried removing the P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP
> IND DEM" but that didn't solve the problem.
>
> Also, here a stripped version of the code in the controller's
> displayFile() action:
>
> function displayFile($id, $file_name, $type=null) {
>     Configure::write('debug', 0);
>     session_destroy();
>     $this->layout = '';
>
>     header('Content-Type: image/jpg');
>     header('Content-Length: ' . filesize($file));
>     readfile($file);
>     exit;
>
> }
>
> I'm hoping someone can shed some light...
>
> - Lauren
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Looking for a Cake PHP freelancer

2008-05-24 Thread Novice Programmer
Hello,

I am looking for a cake php freelancer, who can work directly with me on a
site which already is almost say 20% complete. Please contact me
directly(lets not spam the group), if you are interested.

-- 
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).

--~--~-~--~~~---~--~~
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 me friends(dropdown issue)

2008-05-24 Thread francky06l

What is the relation between the Message and User (I mean in terms of
model) ?
Anyway, you can use the find('list') on the User model.

$users = $this->User->find('list');  // if you want to retrieve the
fields id => name
$this->set('users', $users);

then in your view
echo $form->input('messageto, array('type' => 'select', 'options' =>
$users));

hth

On May 24, 7:53 am, vishal <[EMAIL PROTECTED]> wrote:
> Hi My Cakephp friends,
>   I am new on this google groupcakephp forum.I spend lot
> of time to solve the problem on the forum but still can't get
> anything, so can anybody help me regarding following issue.
>
> I have two models(database table):User,Message
>
> I want place a drop down in my Message view file as :
>
> select('messageto', $options=array(), null, array(),
> '--
> select member--'); ?>
>
> I want to fills this drop down from my another table (user table)
> i.e i want to fill it dynamically from database table.
>
> Also when i edit the message ,the drop down value should be the same
> as their id.i.e
> it select the proper value (not the first one everytime).
>
> this is my controller file code for Message:
>
> **
>
>  class MessagesController extends AppController {
>
> var $name = 'Messages';
> var $layout='user';
>
> var $paginate = array(
> 'limit' => 4,
> 'order' => array(
> 'Message.messagedate' => 'asc'
> )
> );
>
> function index() {
> //$this->set('messages', $this->User->findAll(''));
> $data = $this->paginate('Message');
>   $this->set(compact('data'));
>
> }
>
> function view($id) {
> $this->Message->id = $id;
> $this->set('Message', $this->Message->read());
>
> }
>
> function delete($id) {
> $this->Message->del($id);
> $this->flash('The message with id: '.$id.' has been deleted.', 'http://
> 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/index');
>
> }
>
> function add() {
>
> if (!empty($this->data)) {
> if ($this->Message->save($this->data)) {
>
> $this->flash('Your Message has been saved.','http://
> 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/index');
> }
>
> }
> }
>
> function edit($id = null) {
> $this->Message->id = $id;
> if (empty($this->data)) {
> $this->data = $this->Message->read();
> } else {
> if ($this->Message->save($this->data['Message'])) {
> $this->flash('Your Message has been updated.',
> array('action' =>
> 'index'));
> }
> }
>
> }
> }
>
> ?>
>
> **
>
> So my friend please help me in this issue,it is very urgent for me,
> otherwise i have to put the
> query manually,but i want to fill the dropdown by cake method.
>
> Thanks in advance..
>
> Vishal
> One world Technologies,
> Ambala Cantt
> India
--~--~-~--~~~---~--~~
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: Plugin Model Association Problem

2008-05-24 Thread francky06l

Can you pass your model definition code ?
I have the same kind of plugin and not much problems, maybe I declare
the association in different way.
I set the plugin name into the className parameter ie :
belongTo => array('Profile' => array('className' =>
'user.Profile') 

Wich cake version  are you using ?


On May 24, 12:05 am, "Christopher E. Franklin, Sr."
<[EMAIL PROTECTED]> wrote:
> On May 23, 2:49 pm, francky06l <[EMAIL PROTECTED]> wrote:
>
> > If the user model is in the plugin it should not a problem.. Maybe the
> > problem is how you call the find and from where ?
>
> I do the find in the UsersController::read() function.  It seems to me
> that it is a problem with the association because, when I set 
> $this->User->recursive = -1; I get back just the user.  But, anything else,
>
> it tries to pull the UserProfile and screws up.
>
> > I guess this is when you try to find user from the application and not
> > the plugin ?
>
> No, I make the call from the users_controller in the plugin.
>
> >Maybe the problem comes from the "calling" rather than
> > the callee ?
>
> I don't see a problem with $this->User->findById(1); but, like I said,
> if I set recursive to -1 I get the user I want but, not the
> user_profile.  I wanted to get both.
>
> Alternatively, I can set the UserModel and UserProfileModel both to
> recursive = -1 and just live with the extra calls but, this would be a
> pain if I want to find all users.
>
> I have also tried declaring different $hasOne and $belongsTo without
> the plugin name like, 'User' instead of 'users.User' but, if I do
> that, it says that it cannot find the database table user_profiles for
> the 'UserProfile' model.
>
> > hth
>
> Thank you for replying :)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---