Cakephp Example

index

Cakephp conditional statement for Homepage

Tutorial for set condition at only home page in cakephp To check the current page is homepage or not in Cakephp we can use $this->request. The output of $this->request is given bellow: To check...

How to add BreadCrumbs in Cakephp ?

Cakephp has built in BreadCrumbs Helper. Which we can use easily in Cakephp site. Follow the bellow steps to use Cakephp breadcrumb helper. 1) Open your layout file and add the following code where...