My experience of this is only with Cake 2, so I don't know if it is
possible in Cake 3, but if it is, please point me in the right direction.
I find myself writing model files which pass the same parameters to my
methods!
For example
My "Settings" model might have:
public function
Hi all,
I have multiple rows in database.
I need to collect all the rows based on certain condition and change the
value of particular column by removing a word from the column's value.
How it could be done with with cakePHP 3?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find
On Wed, Oct 14, 2015 at 9:23 AM, Zahidur Rahman wrote:
> Hi Guys,
> How can i load a model method in view file in cakephp 3.
CakePHP is a MVC framework. So you can't do this.
Pass the model data to the view via controller.
Regards.
--
MARCELO F ANDRADE | Belem,
I have gone through the documentation, which is a bit too vague, and tried
many things, but I still am getting an error that the template file is
missing.
I had this working sending back a json response in 3.0 using ext='json',
yet after updating to 3.1 it is broken.
I checked the migration
Did you correctly specify the data type json in your ajax call ?
Le 14 oct. 2015 09:02, "heavyKevy" a écrit :
> I have gone through the documentation, which is a bit too vague, and tried
> many things, but I still am getting an error that the template file is
> missing.
>
External PHP file was in Web-root. i created one own helper class .now i
want call that function from PHP file
Code:
$ReviewCount=$this->Search->getReviewsCount(); echo $ReviewCount
it was working view file but its showing error in External php file Fatal
error: Using $this when not in
Hi
When I use this method - $this->Flash->success(__('Your post has been
saved.')); in the tutorial the following error is encountered
"Call to a member function setFlash() on a non-object "
Please help me out.
Thanks,
Sathish
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find
Hi all
I have trouble using bin/bake, because of my server setup (dedicated), I
think. It uses PHP as CGI and in default the terminal uses PHP 4.
(13:38:26) [webfiles] bin/cake bake all users
X-Powered-By: PHP/4.4.9
Content-type: text/html
Warning: Unexpected character in input: '\'
I have fixed most issues after the upgrade but one I just can't seem to
solve. I hope someone can help me. I created a few years ago this upload
form/functionality in the admin section to give the admin user the
possibility to upload images for a property in a region. The admin user
select
Hello,
I am currently working on an internship web application that is utilizing
CakePHP. Currently I have a very large mysql database schema and have been
working slowly on developing and learning CakePHP. I am interested in
finding a developer who is willing to freely devote some of their
Oi gente, sou Cassiane estou fazendo meu TCC sobre frameworks PHP em visão
de fazer o meu próprio para Trabalho de Conclusão em Analise e
Desenvolvimento de Sistema
Demora apenas 5 minutos e preciso muito que ao menos 10 respondam pois
voces já utilizam o cake e provavelmente já usaram outro
Somebody knows how to format $this->Form->input in 'DMY'? The option
dateFormat doesn't work anymore in cakephp 3.0. Thanks in advance.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are
Hello, I developed a plugin for acl cakephp3. Am new to the cakephp, it is
three weeks I started to use it. As I saw that the community still needs a
plugin acl decided to develop. The tutorial is in Portuguese, if anyone can
translate it I thank you. Reviews and collaborations are welcome!
code that generated the URL:
$url = $this->Url->build(['controller' => 'Purchases', 'action' =>
'get_sales_people_select_list','_ext'=>'json']);
$url = $url . '/47';
The generated URL:
/purchases/get-sales-people-select-list.json/47
Is this not correct?
On Wed, Oct 14, 2015 at 4:40 PM, Anthony
Hi Guys,
How can i load a model method in view file in cakephp 3.
Thanks
Zahid
--
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
I discovered a bug in the Route.php file.
the reg expression used for finding extensions only works if no parameters
are passed in the URL.
I have temporarily modified my Routes.php file to find the extension
anywhere in the string and used str_replace to remove the .json from the
url and I no
16 matches
Mail list logo