Welcome To Snipplr


Everyone's Recent Snippets Tagged cakephp



« Prev 1 2 3 4
  1. FAV

    Htaccess rewrite file for Letsencrypt and CakePHP app

    This .htaccess actually forces all traffic to https, and allows cakephp app to work properly, as well as letsencrypt to go thru
    Apache 6 views posted 2 years ago by acosonic
  2. FAV

    MySql workbench add created and modified columns for CAKEPHP

    Name this script whatever you want, and run it via Workbench Scripting shell
    Python 4 views posted 2 years ago by acosonic
  3. FAV

    Cakephp Can't get query strings from URL

    Typically when you use Security->requireSecure() to do https redirects, you have to make sure you do pass all data from http to https.
    PHP 4 views posted 3 years ago by Pidarasiya
  4. FAV

    cakephp elastic-search pagination

    How do you use the elastic-search plugin with cake's native pagination?
    PHP 4 views posted 3 years ago by Pidarasiya
  5. FAV

    Secure Your Cakephp Website By Following These Simple Steps!

    <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...
    PHP 10 views posted 4 years ago by cakephpexpert
  6. FAV

    Top 50 CakePHP Interview Questions and Answers

    This post having the list of top 50 cakephp interview questions and answers
    PHP 6 views posted 5 years ago by kp32
  7. FAV

    How to Upload and Download PDF file in CakePHP

    This post will explain how to upload and download PDF file in cakephp.
    PHP 8 views posted 5 years ago by kp32
  8. FAV

    CakePHP - Acesso a Dois Bancos de Dados

    CakePHP - Acesso a Dois Bancos de Dados
    PHP 3 views posted 5 years ago by temistoclesarea
  9. FAV

    CakePHP - generate unique slug

    this method generates and returns a unique slug, given a string.
    PHP saved by 1 person 7 views posted 7 years ago by artaserse
  10. FAV

    [CakePHP] Update field with current field data

    Update current field data.
    PHP 3 views posted 7 years ago by tucq88
  11. FAV

    Cakephp - Get current base url (include domain )

    Get current url. Include domiain. For example :http:// localhost/root_folder.
    PHP 9 views posted 7 years ago by tucq88
  12. FAV

    CakePhp - add site name to the page title

    add site name to the page title
    PHP 4 views posted 7 years ago by artaserse
  13. FAV

    CakePHP: SQL-log in array (for controller, e.g.)

    PHP 3 views posted 8 years ago by kentandre
  14. FAV

    CakePHP debug function

    PHP 8 views posted 8 years ago by pacifists
  15. FAV

    Using created_at and updated_at with CakePHP

    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
    PHP 3 views posted 8 years ago by kendsnyder
  16. FAV

    CakePHP interview Questions with Answers

    CakePHP Interview Questions
    PHP 3 views posted 8 years ago by erraja_07
  17. FAV

    CakePHP - Full URL

    PHP 5 views posted 9 years ago by dmertl
  18. FAV

    CakePHP admin layout for admin routing

    PHP 5 views posted 9 years ago by LennieZ
  19. FAV

    Debug CakePHP queries from controller

    PHP saved by 2 people 9 views posted 9 years ago by jmiller
  20. FAV

    Deploy Zend Framework within CakePHP

    Drop the Zend Framework Library folder into your Vendors folder
    PHP 3 views posted 9 years ago by shahways
  21. FAV

    send mail with gmail (smtp)

    PHP saved by 3 people 8 views posted 9 years ago by luglio7
  22. FAV

    cakephp form helper (select) optgroup problem with nested options array

    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...
    PHP 3 views posted 9 years ago by sveggiani
  23. FAV

    get the sql query of a model in cakephp

    PHP saved by 1 person 2 views posted 9 years ago by sveggiani
  24. FAV

    CakePHP - Dynamic Model

    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
    PHP 3 views posted 9 years ago by stolkchris
  25. FAV

    Cakephp breadcrumbs

    If you're ever bothered by CakePHP's limited breadcrumbs support for displaying them use this to build your own!
    PHP saved by 6 people 3 views posted 9 years ago by stolkchris
  26. FAV

    display a Model schema in Cakephp

    PHP saved by 2 people 1 views posted 9 years ago by sveggiani
  27. FAV

    Cakephp: paginate different model than current and using Containable

    PHP saved by 2 people 2 views posted 9 years ago by sveggiani
  28. FAV

    Cakephp: preserve custom routes parameters in paginator links

    PHP 1 views posted 9 years ago by sveggiani
  29. FAV

    CakePHP - Quick record actions

    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.
    PHP saved by 2 people 0 views posted 9 years ago by stolkchris
  30. FAV

    method to sort a tree node even with empty parents

    PHP 3 views posted 9 years ago by sveggiani
« Prev 1 2 3 4