CakePHP makes building web applications simpler, faster and require less code.
See all
Members (4,236)
Megan CakePHP Community manager's profile photo
James Watts's profile photo
Larry E. Masters's profile photo
kévin Lacire's profile photo
Maciej Moksa's profile photo
Johnny Cash's profile photo
Sergio Tafoya's profile photo
László Tihanyi's profile photo
Rodrigo Campos's profile photo
Pedro Ferraz's profile photo
Chris Parbey's profile photo
Dalibor Milenkovic's profile photo
jinaal patel's profile photo
Musuda Alitsi's profile photo
Adams Serrano Orellana's profile photo
Manuel Alejandro Marquez Ortiz's profile photo
Aussie Chuck's profile photo
Bimal Gharti Magar's profile photo
Denys Kyselov's profile photo
Dani Daniel's profile photo
Arvind verma's profile photo
Jorge Moreira's profile photo
Adèle Gareau's profile photo
Jeppe Borggaard Jørgensen's profile photo

Stream

Join this community to post or comment

Omar Galaviz

CakePHP 3.x  - 
 
Hi, please, someone has worked to plugin multidots/cakephp-instagram composer's??? I need to call the class instagramclient, but i have error
1
Omar Galaviz's profile photo
Add a comment...

Ebel Chimunthu

CakePHP 3.x  - 
 
I need to install cakephp without htaccess, and i am encountering a difficulty
After following all the steps in the documentation, specifically using 'baseUrl' => env ('SCRIPT_NAME')

I am having problems with the redirect of the login, someone has faced already something similar and could help me to find a light?
1
Add a comment...

Megan CakePHP Community manager
moderator

Announcements  - 
 
 
CakePHP 2.9.2 Released! A maintenance release for 2.9 fixing several community reported issues #CakePHP
Latest news and articles about CakePHP
1
Add a comment...

Filippo Giordano

CakePHP 3.x  - 
 
Hi everybody. Thanks in advance for developing cakephp. I have a problem with pdf generation using wkhtmltopdf. I use as header-html a page generated by a cakephp app in localhost. If debug mode is set to true wkhtmltopdf is very slow and often generates timeout errors. With debug mode set to true no problem. With cakephp 3.0 no problem. The problem is after upgrade cakephp to the last version (I think because of the code that generates the cake symbol in debug mode). Any suggestion? Thanks a lot.
1
Add a comment...

Megan CakePHP Community manager
moderator

Announcements  - 
 
 
Featured plugin this week! A CakePHP wrapper for the powerful Imagine image processing library. Making image manipulation easy and powerful. #CakePHP
cakephp-imagine-plugin - CakePHP wrapper for the powerful Imagine image processing library. Makes images manipulation easy and powerful.
1
Add a comment...

Seydou Loum

CakePHP 3.x  - 
 
 
it is possible to use Cakephp 3.x with Angular 2 ?
1
Add a comment...

Seydou Loum

CakePHP 3.x  - 
 
How to insert picture without use the cakephp image helper please 
1
1
Juri Kostik's profile photoSeydou Loum's profile photo
4 comments
 
Thank you very much Juri Kostik, your words have been helpful. 
Add a comment...

Sahar

CakePHP 2.x  - 
 
I'm Cakephp learner and working on a project. I have a problem. I did google but unable to find the right solution. I hope, I can find the solution here.

Here is My Code.Cakephp Ver. 2.6.1

function getCompanySales(){
$model=ClassRegistry::init('Customer');
$modelcompany=ClassRegistry::init('Company');
$from = date("Y-m")."-01 00:00:00";
$days_in_month = cal_days_in_month(CAL_GREGORIAN, date('m'), date('Y'));
$to = date("Y-m")."-".$days_in_month." 24:00:00";
$companyname=$modelcompany->find('all');
$companiessales=$model->find('all',array(
'conditions' => array(
"AND" =>array(
"Customer.created >=" => $from,
"Customer.created <=" => $to
)
),
'recursive'=>-1
)
);
return $companiessales;
} // Get Company list
and I'm getting result like

Array (
[0] => Array ( [Customer] => Array ( [gateway] => 10 [amount] => 349 ) )
[1] => Array ( [Customer] => Array ( [gateway] => 7 [amount] => 150 ) )
[2] => Array ( [Customer] => Array ( [gateway] => 13 [amount] => 349 ) )
[3] => Array ( [Customer] => Array ( [gateway] => 10 [amount] => 350 ) )
[4] => Array ( [Customer] => Array ( [gateway] => 7 [amount] => 100 ) )
[5] => Array ( [Customer] => Array ( [gateway] => 9 [amount] => 299 ) )
[6] => Array ( [Customer] => Array ( [gateway] => 7 [amount] => 249 ) )
[7] => Array ( [Customer] => Array ( [gateway] => 10 [amount] => 249 ) )
[8] => Array ( [Customer] => Array ( [gateway] => 7 [amount] => 299 ) )
[9] => Array ( [Customer] => Array ( [gateway] => 12 [amount] => 199 ) )
[10] => Array ( [Customer] => Array ( [gateway] => 7 [amount] => 150 ) ) )
But I want to Sum the Value with same gateway like

array(
[7] => 948 //sum of gateway 7
[9] => 299 //sum of gateway 9
[10] => 948 //sum of gateway 10
[12] => 199 //sum of gateway 12
[13] => 349 //sum of gateway 13
)
In another query =>

array(
[7] => company 1
[9] => company 2
[10] => company 3
[12] => company 4
[13] => company 5

)
I want a final result as

array(
[company1] => 948
[company1] => 299
[company1] => 948
[company1] => 199
[company1] => 349
)
Thanks for all your help. I'm sure I'll get the easy steps to resolve the issue.
1
Add a comment...
 
 
CakeFest 2016 Amsterdam Workshop Jorge Day 1 Part 1 - A basic introduction into CakePHP 3 showing how to install and configure CakePHP 3 and how to use the code generation tools.
1
Add a comment...

About this community

CakePHP makes building web applications simpler, faster and require less code.

Megan CakePHP Community manager
moderator

Announcements  - 
 
 
CakePHP 3.4.0-beta3 now available! This is a beta release for 3.4.0, and it contains bugfixes found by the community
Latest news and articles about CakePHP
1
Add a comment...

Rajaram indira

CakePHP 2.x  - 
 
Hi,

I can't able to use contain in cake php 2.x . Could anyone please help me..
1
Megan CakePHP Community manager's profile photo
 
Hi! Why don't you join us on either slack (cakesf.herokuapp.com) or our #CakePHP forum (discourse.cakephp.org) for support and help!
Add a comment...

aaron moreno

Discussion  - 
 
Buenas Noches Comunidad, Si me lo permiten quiero explicar mi problema: Estoy haciendo un sistema en el cual quiero enviar y recibir mensajes y ya lo conseguí, en el controlador en la funcion entrada tengo simplemente la condicion si usuario receptor es igual a el que inicio sesión que lo muestre

public function entrada() {
$this->set('mensajes', $this->Mensaje->find('all',array(
'conditions'=>array('Mensaje.user_receptor' => $this->Session->read('Auth.User.id')),
'order' =>'Mensaje.id DESC'
)
));
}

El problema va en la funcion de enviados como pueden ver no puedo hacer que en la vista me muestre los que he enviado solamente en la parte de el usuario todo lo demás esta bien. ya que como pueden ver no lo puedo mostrar porque no se como hacer que se muestre el usuario que esta en user_receptor

no se si me explique bien pero si alguien me puede ayudar lo agradecería mucho
 ·  Translate
1
Add a comment...

Megan CakePHP Community manager
moderator

Announcements  - 
 
 
CakePHP 3.3.8 Released! A maintenance release for 3.3 fixing several community reported issues #CakePHP
Latest news and articles about CakePHP
4
Add a comment...
 
I am developing an Android mobile app that form which people may report any issues they encounter on roads. This data is saved in a table - Report table. The data saved includes also the coordinates which are saved in Point data type.

I would like some guidance with CakePhp 3.x on how to retrieve this type of data (Point data type) from the table and display it in a view...

Thank you :)
1
Add a comment...

Seydou Loum

CakePHP 3.x  - 
 
 
How to insert picture without use the cakephp image helper please 
1
Add a comment...

Seydou Loum

CakePHP 3.x  - 
 
it is possible to use Cakephp 3.x with Angular 2 ?
2
1
Add a comment...

Filippo Giordano

CakePHP 3.x  - 
 
Hi cakephp lovers, I'm grateful for all your advices. That's my problem: I know it's very strange.. but in my templates
echo $this->Form->time(mytimefield); doesn't produce any html code and
doesn't show anything at all in my browser.
Does anybody has the same problem? need your help.
1
Add a comment...

Sahar

CakePHP 2.x  - 
 
Hi, Can anyone help me with my issue. I have posted the question on Cakephp Official forum as we all Stackoverflow. But I didn't get answer from any communicity. 
1
Add a comment...

Maxo Matos

CakePHP 3.x  - 
 
Hi,

i have own plugin for CakePHP3 on https://bitbucket.org.

How do I install this plugin to CakePHP with composer?

thanks
1
Nguyễn Ngọc Nhiên's profile photoMaxo Matos's profile photo
2 comments
Add a comment...