Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged cakephp



« Prev 1 2 3
Typically when you use Security->requireSecure() to do https redirects, you have to make sure you do pass all data from http to https.
0 1838 posted 9 years ago by Pidarasiya
How do you use the elastic-search plugin with cake's native pagination?
0 1685 posted 9 years ago by Pidarasiya
<p>Follow these steps to secure your Cakephp Website:</p> <p>*Before you actually start using Security Component functionality, make sure you use $components = array (‘Security’, ‘Auth’) in the array so you can extend its functionality in...
0 3054 posted 11 years ago by cakephpexpert
This post having the list of top 50 cakephp interview questions and answers
0 2241 posted 11 years ago by kp32
This post will explain how to upload and download PDF file in cakephp.
0 2594 posted 11 years ago by kp32
CakePHP - Acesso a Dois Bancos de Dados
0 2758 posted 11 years ago by temistoclesarea
this method generates and returns a unique slug, given a string.
1 2124 posted 13 years ago by artaserse
Update current field data.
0 1821 posted 13 years ago by tucq88
Get current url. Include domiain. For example :http:// localhost/root_folder.
0 3410 posted 13 years ago by tucq88
add site name to the page title
0 1926 posted 14 years ago by artaserse
0 2930 posted 15 years ago by pacifists
Ruby uses created_at and updated_at. Here cake will do the same thing. based on http://book.cakephp.org/view/1015/created-and-modified
0 2045 posted 15 years ago by kendsnyder
CakePHP Interview Questions
0 3099 posted 15 years ago by erraja_07
0 1689 posted 15 years ago by dmertl
Drop the Zend Framework Library folder into your Vendors folder
0 1728 posted 15 years ago by shahways
3 2036 posted 15 years ago by luglio7
This problem occurs when there is a duplicated name for the first level item (optgroup) and a second level item (option). The rendered select will not contain the mentioned option unless you do the following...
0 2354 posted 15 years ago by sveggiani
A small snippet on how to create a dynamic model in CakePHP (useful for global functions that need a model to function. IE functions defined in the AppController
0 1562 posted 15 years ago by stolkchris
If you're ever bothered by CakePHP's limited breadcrumbs support for displaying them use this to build your own!
2 1858 posted 15 years ago by stolkchris
2 1818 posted 15 years ago by sveggiani
This snippet can be called in every controller, all you need to do is to specify the form name, the model name and the data.
1 1727 posted 15 years ago by stolkchris
3 2353 posted 15 years ago by damanlovett
I needed to create several pages that didn't use any models and contained static data inside the default layout. My first thought was to create a controller for these pages and define an action for each static page I needed. However, this solution se...
0 1472 posted 16 years ago by TioSolid
« Prev 1 2 3