Hi Friends, While developing cakePHP web application we get so many problems and difficulties. Some days ago i got one problem in which I wanted to call controller action or controller function from view file. We can’t directly call controller function in view file. So I have found one function in cakePHP by which we … Read more
[CakePHP]How To Call Controller Action or Controller Function From Views Or Any Location
Posted by in CakePHP - (0 Comments)Disable View From Controller Or Controller Function Without View in CakePHP
Posted by in CakePHP - (0 Comments)Hi Friends, today I am going to explain you one simple thing for which I have searched more than one hour. I wanted to make one controller and one function in it which don’t have view file for it.I have search for it so many times and finally I got it from one forum where … Read more
Hi Friends, After long time I am writing post. In this article I will tell you how to make link on image via in cakePHP. Making Link in cakePHP is easy but sometime we have to make link on image so it is little bit tricky, I have tried so much and after trying so … Read more
Hello Friends, Sometimes we want take current URL in cakePHP in view, Today I got current URL for transferring to that URL after log in. I have tried so many things to work it out and finally I got one working way to get current URL in view. We can use $_SERVER variable to get … Read more
Hello Friends, In this article I will share with you that how to disable site wide caching in CakePHP, CakePHP having cache system So many times we have to turn off or turn off cache system, So we can do it cache disable or enable from core.php file which exists in config folder
Hello Friends, A layout contains presentation code that wraps around a view. Anything you want to see in all of your views should be placed in a layout.So your every view is wrapped by one layout,If you are not using including layout by $this->layout = ‘layout_name’; than every time it will use default layout, yesterday … Read more
Hello Friends, These days I am totally giving tricks and ideas relates to cakePHP and in this article I will also tell you how to load other model in other controller to use instantly. There are two ways to make available other model in controller, One is $uses variable in controller and other is loadModel … Read more
Hello Friends, I have written some articles relates to element and its use for an application that how cakePHP elements can be useful for web application. Now today I am again want to writing about cakePHP element for web application optimization. As we know that Many applications have small blocks of presentation code that need … Read more
Hello Friends, As I am writing some important stuffs on CakePHP, But today i want to share one simple and basic thing with you about cakePHP element that how can we include cakePHP element in view. Basically Many applications have small blocks of presentation code that need to be repeated from page to page, sometimes … Read more




