Monday, February 29, 2016

Auth component with Logins model

Hello,

I have made a Logins table separate from the Users table. I have changed
'authenticate' => [
                'Basic' => [
                    'userModel' => 'Logins'
                ],
            ]

It works the only problem i have is that the session doesnt get destroyed. I have destroyed it and it shows nothing but something keeps writing the data back to the session. Does somebody know what it is.

       unset($_SESSION);
        return $this->redirect($this->Auth->logout());

I do this and i see that the superglobals Session variable is getting changed and the Auth.User is getting removed but at the end of the script something writes it back.

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Any Nigerian Cakephp Developer

Hi, I am Clement from Nigeria, I am in need of a Good, professional and experienced cakephp developer in Nigeria.

Please is you are one, do send me a mail , we have businesses to do together.

Thanks

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Remove first from collections

I deletion is not possible, would the skip method work for you?
http://book.cakephp.org/3.0/en/core-libraries/collections.html#Cake\Collection\Collection::skip

Enjoy, John

On Thursday, 25 February 2016 16:56:27 UTC+2, Rafael Santos wrote:
Hi, 
i'm using CakePHP's Collections on a non-cakephp project. I was search for a Collection package and I find yours to be the best. 
Is there a way to easily delete the first element of a collection? 
For example, $collection->first()->remove().

Thanks

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Form: hasMany fields table validation not working

Ok, thank you very much! I am sorry that I didn't realize this singular and plural detail.

Thank you very much!

Paulo

2016-02-29 11:36 GMT-03:00 Dakota <waltherlalk@gmail.com>:
Not a problem, glad that worked for you.

For future reference, you can usually get nearly instant help on the IRC channel (http://webchat.freenode.net/?channels=cakephp&uio=MT1mYWxzZSY5PXRydWUmMTE9MjQ2b8), depending on who is online of course. Stackoverflow is also usually more active than the group.

On Monday, 29 February 2016 16:31:11 UTC+2, Paulo Terra wrote:
Great! It Works! Thank you Dakota!

2016-02-29 11:15 GMT-03:00 Dakota <walth...@gmail.com>:
Hi Paulo,

Your form field for address zipcode field is in the wrong format. http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data shows the correct format for each type of relation. Basically, instead of doing 
$this->Form->input('address.zipcode');

You need to do instead do:
$this->Form->input('addresses.0.zipcode');

For hasMany relations, the key is always plural and you need to specify a numeric index.



On Sunday, 28 February 2016 22:07:32 UTC+2, Paulo Terra wrote:
Hi,

I have 3 tables: User, Buyer and Address:

User hasMany Address
User hasOne Buyer
Address belongsTo User
Buyer belongsTo User

In the User form (Users/add.ctp):

echo $this->Form->input('name',['label' => __('Nome')]);
echo $this->Form->input('buyer.cpf',['label' => __('CPF')]);
echo $this->Form->input('address.zipcode');



UsersTable.php:

        $this->hasMany('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);



BuyersTable.php:

        $this->table('buyers');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);


AddressTable.php:

        $this->table('addresses');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);



The field "cpf" from Buyer is recognized by cake as it´s Model is shown in the include path:

  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Entity/Survey.php
And "cpf" is also a "not null" field, whitch is properly verifyed in cake when I save.

The problem is the "zipcode" field in "Address". It´s is also a required field but it is not validated from cake. And, as can be seen, it is not loaded in Model list.

But when I change the relation Address relation from "hasMany" to "hasOne" it works (it also validade required field when I save).


UsersTable.php:

        $this->hasOne('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);


  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Table/AddressesTable.php
    • 6APP/Model/Entity/Address.php
    • 7APP/Model/Entity/Survey.php


Does anyone has a clue about what is happening?

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/M8MwE8p8SZc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cake-php+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/M8MwE8p8SZc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Form: hasMany fields table validation not working

Not a problem, glad that worked for you.

For future reference, you can usually get nearly instant help on the IRC channel (http://webchat.freenode.net/?channels=cakephp&uio=MT1mYWxzZSY5PXRydWUmMTE9MjQ2b8), depending on who is online of course. Stackoverflow is also usually more active than the group.

On Monday, 29 February 2016 16:31:11 UTC+2, Paulo Terra wrote:
Great! It Works! Thank you Dakota!

2016-02-29 11:15 GMT-03:00 Dakota <walth...@gmail.com>:
Hi Paulo,

Your form field for address zipcode field is in the wrong format. http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data shows the correct format for each type of relation. Basically, instead of doing 
$this->Form->input('address.zipcode');

You need to do instead do:
$this->Form->input('addresses.0.zipcode');

For hasMany relations, the key is always plural and you need to specify a numeric index.



On Sunday, 28 February 2016 22:07:32 UTC+2, Paulo Terra wrote:
Hi,

I have 3 tables: User, Buyer and Address:

User hasMany Address
User hasOne Buyer
Address belongsTo User
Buyer belongsTo User

In the User form (Users/add.ctp):

echo $this->Form->input('name',['label' => __('Nome')]);
echo $this->Form->input('buyer.cpf',['label' => __('CPF')]);
echo $this->Form->input('address.zipcode');



UsersTable.php:

        $this->hasMany('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);



BuyersTable.php:

        $this->table('buyers');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);


AddressTable.php:

        $this->table('addresses');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);



The field "cpf" from Buyer is recognized by cake as it´s Model is shown in the include path:

  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Entity/Survey.php
And "cpf" is also a "not null" field, whitch is properly verifyed in cake when I save.

The problem is the "zipcode" field in "Address". It´s is also a required field but it is not validated from cake. And, as can be seen, it is not loaded in Model list.

But when I change the relation Address relation from "hasMany" to "hasOne" it works (it also validade required field when I save).


UsersTable.php:

        $this->hasOne('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);


  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Table/AddressesTable.php
    • 6APP/Model/Entity/Address.php
    • 7APP/Model/Entity/Survey.php


Does anyone has a clue about what is happening?

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/M8MwE8p8SZc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cake-php+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Form: hasMany fields table validation not working

Great! It Works! Thank you Dakota!

2016-02-29 11:15 GMT-03:00 Dakota <waltherlalk@gmail.com>:
Hi Paulo,

Your form field for address zipcode field is in the wrong format. http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data shows the correct format for each type of relation. Basically, instead of doing 
$this->Form->input('address.zipcode');

You need to do instead do:
$this->Form->input('addresses.0.zipcode');

For hasMany relations, the key is always plural and you need to specify a numeric index.



On Sunday, 28 February 2016 22:07:32 UTC+2, Paulo Terra wrote:
Hi,

I have 3 tables: User, Buyer and Address:

User hasMany Address
User hasOne Buyer
Address belongsTo User
Buyer belongsTo User

In the User form (Users/add.ctp):

echo $this->Form->input('name',['label' => __('Nome')]);
echo $this->Form->input('buyer.cpf',['label' => __('CPF')]);
echo $this->Form->input('address.zipcode');



UsersTable.php:

        $this->hasMany('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);



BuyersTable.php:

        $this->table('buyers');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);


AddressTable.php:

        $this->table('addresses');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);



The field "cpf" from Buyer is recognized by cake as it´s Model is shown in the include path:

  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Entity/Survey.php
And "cpf" is also a "not null" field, whitch is properly verifyed in cake when I save.

The problem is the "zipcode" field in "Address". It´s is also a required field but it is not validated from cake. And, as can be seen, it is not loaded in Model list.

But when I change the relation Address relation from "hasMany" to "hasOne" it works (it also validade required field when I save).


UsersTable.php:

        $this->hasOne('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);


  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Table/AddressesTable.php
    • 6APP/Model/Entity/Address.php
    • 7APP/Model/Entity/Survey.php


Does anyone has a clue about what is happening?

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/M8MwE8p8SZc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Form: hasMany fields table validation not working

Hi Paulo,

Your form field for address zipcode field is in the wrong format. http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data shows the correct format for each type of relation. Basically, instead of doing 
$this->Form->input('address.zipcode');

You need to do instead do:
$this->Form->input('addresses.0.zipcode');

For hasMany relations, the key is always plural and you need to specify a numeric index.


On Sunday, 28 February 2016 22:07:32 UTC+2, Paulo Terra wrote:
Hi,

I have 3 tables: User, Buyer and Address:

User hasMany Address
User hasOne Buyer
Address belongsTo User
Buyer belongsTo User

In the User form (Users/add.ctp):

echo $this->Form->input('name',['label' => __('Nome')]);
echo $this->Form->input('buyer.cpf',['label' => __('CPF')]);
echo $this->Form->input('address.zipcode');



UsersTable.php:

        $this->hasMany('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);



BuyersTable.php:

        $this->table('buyers');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);


AddressTable.php:

        $this->table('addresses');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);



The field "cpf" from Buyer is recognized by cake as it´s Model is shown in the include path:

  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Entity/Survey.php
And "cpf" is also a "not null" field, whitch is properly verifyed in cake when I save.

The problem is the "zipcode" field in "Address". It´s is also a required field but it is not validated from cake. And, as can be seen, it is not loaded in Model list.

But when I change the relation Address relation from "hasMany" to "hasOne" it works (it also validade required field when I save).


UsersTable.php:

        $this->hasOne('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);


  • Model(array)
    • 0APP/Model/Table/UsersTable.php
    • 1APP/Model/Entity/User.php
    • 2APP/Model/Table/SurveysTable.php
    • 3APP/Model/Table/BuyersTable.php
    • 4APP/Model/Entity/Buyer.php
    • 5APP/Model/Table/AddressesTable.php
    • 6APP/Model/Entity/Address.php
    • 7APP/Model/Entity/Survey.php


Does anyone has a clue about what is happening?

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sunday, February 28, 2016

Form: hasMany fields table validation not working

Hi,

I have 3 tables: User, Buyer and Address:

User hasMany Address
User hasOne Buyer
Address belongsTo User
Buyer belongsTo User

In the User form (Users/add.ctp):

echo $this->Form->input('name',['label' => __('Nome')]);
echo $this->Form->input('buyer.cpf',['label' => __('CPF')]);
echo $this->Form->input('address.zipcode');



UsersTable.php:

        $this->hasMany('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);



BuyersTable.php:

        $this->table('buyers');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);


AddressTable.php:

        $this->table('addresses');
        $this->displayField('id');
        $this->primaryKey('id');
        $this->belongsTo('Users', [
            'foreignKey' => 'user_id',
            'joinType' => 'INNER'
        ]);



The field "cpf" from Buyer is recognized by cake as it´s Model is shown in the include path:

And "cpf" is also a "not null" field, whitch is properly verifyed in cake when I save.

The problem is the "zipcode" field in "Address". It´s is also a required field but it is not validated from cake. And, as can be seen, it is not loaded in Model list.

But when I change the relation Address relation from "hasMany" to "hasOne" it works (it also validade required field when I save).


UsersTable.php:

        $this->hasOne('Addresses', [
            'foreignKey' => 'user_id'
        ]);
       
        $this->hasOne('Buyers', [
            'foreignKey' => 'user_id'
        ]);




Does anyone has a clue about what is happening?

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thursday, February 25, 2016

Software R and CakePHP

someone has worked with the integration of R software with Cakephp, I need to know what you need (server configuration, the cake, other settings) to call and run the script by R Cakephp? .

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Remove first from collections

Hi, 
i'm using CakePHP's Collections on a non-cakephp project. I was search for a Collection package and I find yours to be the best. 
Is there a way to easily delete the first element of a collection? 
For example, $collection->first()->remove().

Thanks

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wednesday, February 24, 2016

Get your CakeFest 2016 Tickets Now

CakeFest 2016 Tickets On Sale Now!!
View this email in your browser

CakeFest 2016 Tickets on sale now!

For 2016 we're hosting our annual CakePHP conference in Amsterdam. Covering 2 full days of workshops, showing off the latest and best practices with the framework, followed by another 2 days packed with noteworthy talks from some of the most influential members of the global community, this is a must for any CakePHP developer.

If you are coming from out of town, don't stress! 

There are quite a few different options for accommodation in the area:

  • AirBnB has a large following in Amsterdam, should you choose to book through them
  • HotelsTonight is good for those who are not afraid to do last minute bookings, and typically has quite a few locations in the area for a fraction of the normal price
Purchase your tickets here, and don't forget, there are only a limited number available - get yours now to avoid disappointment!

We look forward to having you there!


Have you submitted a talk? Call for speakers closing soon!


Did you know that your topic doesn't need to be based on CakePHP?

Be sure to get in before the March 1st!


Not sure how to submit? 

Talk Submission Process

 

© Copyright 2005-2016 Cake Software Foundation, Inc. All rights reserved


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list
 

Tuesday, February 23, 2016

[Cakephp3] Best way to change database on the fly by user

Hello !

I used cakephp 3 to implement my apps and it's awesome :)

Now I try to implement datasource by user:
- one datasource by request
- every user can use diffrent database

 Now i used vars cache and read it after user login in tables static function defaultConnectionName this solution isn't brilliant but works.

Maybe you can give better solutions.



--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Problem with TinyMCE

It seems to me this should not be happening.  Although, I cannot decide which of the following is the problem.

A)  In the tiny_mce.js file I see some script that doesn't compute [for me at least].  

... c.push("<?",h," ",i,"?>")}else{c.push("<?",h,"?>") ...


The above code is interpreted as PHP when it is not.


B) Is it appropriate for CakePHP to include tiny_mce.js instead of add it to the script header?  It is after all located in the plugin's webroot/js folder.



--Charles




On Saturday, January 14, 2012 at 11:38:24 PM UTC-6, ali786 wrote:
hi
i have a problem with TinyMCE and its not working in my page
i see "Parse error" in firebug ( Parse error : syntax error,
unexpected T_CONSTANT_ENCAPSED_STRING  )
Please Help me :(

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: CakePHP 3.2.0 Released

Yes, it is

On Monday, February 1, 2016 at 12:18:20 PM UTC+1, rafaelmsantos.com wrote:
Is the intl php extension still required?

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Cakephp 3.x How to create dynamic subdomain?

What is the error? 

The *.example.com should point to the same webroot as your www.example.com and example.com

Do all the magic in your code 



On Tue, Feb 16, 2016 at 10:44 AM, Rajaram indira <rajaramindirasamy@gmail.com> wrote:
Hi,

     I'm doing dynamic sub domain in cakephp 3.x like,

    - [....].example.com
   
    In sub domain part should be dynamic.
    I was tried wildcard method. But I can't get exact solution for my problem.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at https://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
=============================================================
Hire a CakePHP dev team : http://sanisoft.com
=============================================================

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Monday, February 22, 2016

CakePHP Inaugural Newsletter

The time is now, can you feel it?? 
View this email in your browser

The time is now, can you feel it?? 

A new year brings on new growth and development. We want you to join us.
We've been listening to what you've been asking for and we bring good news!

As you know, the core team is hard at work ensuring that the framework is moving forward. But, we know that we wouldn't be here without you!

First off, we have a new Community Manager, Megan - She will be looking after you. Find her here if you are looking for anything CakePHP related.

On that note, we want to engage with you more. We have considered closing our Google Group in favor of another platform. But we want to hear what you are thinking - Let us know


Also making a comeback are our featured plugins, and we want you to share your plugins with us! 

In other news.. We have exciting news in our training and certification, we are looking at bringing more instructors on board. All proceeds go directly back into the community, so be sure to sign up!

We love local CakePHP meetups - Cake Development Corporation (CakeDC) has confirmed that they will be sponsoring some in different areas - want one in your area? Contact us today for more information!

Lastly, expect to hear more from us. We are here to help you, each one of the core team is dedicated to ensuring the survival of our framework!

Until next time!

                                                                                                                      Larry E. Masters
                                                                                                                      Co-Founder CakePHP

                                                                                                                                    

Coming up next...
CakeFest 2016 Announcement
#Dontmissout #CakeFest2016 #opensource #CakePHP 
We are revamping and updating a few things! Make sure you keep an eye out for our newsletters to stay part of the action! We know things change, if you are no longer interested unsubscribe here
The CakePHP core team is happy to announce the immediate availability of CakePHP 3.0.16, 3.1.11, and 3.2.3. These releases contain security fixes. While 3.2.3 also contain bugfixes.

Security announcements coming soon!!

Want to be kept in the loop as soon as security issues arise!
We thought so!
Subscribe here now and don't miss out! 

Want to be more involved in the community? 

Here's how ...
User Support 
Education and Training
Marketing and Evangelism
Contributing Code
Testing and Quality Assurance
Documentation
Translations
Find out more or mail us to get involved today!
 
Copyright ©  2016 Cake Software Foundation, Inc.,  All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list