Quantcast
Channel: admin – Cakephp Example
Browsing all 10 articles
Browse latest View live

How to disable directory browsing by .htaccess?

Want to disable directory browsing in your web server ? It’s very simple. Open your .htaccess file and write the bellow line at the end of line. Options -Indexes A complete .htaccess file example given...

View Article


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 you...

View Article


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:...

View Article

Allowing admins and author to edit or delete data

Allowing admins and author to edit or delete data How to allow only admins and authors to edit or delete data in CakePHP, cause my site author can edit all others post. How to solve this ? I’m using...

View Article

Make sure sub string functions finishes on a word not a character

Make sure sub string functions finishes on a word not a character We know how to use the substr function but this function return the output in middle of word, but it looks odd when some time showing...

View Article


How to increment or zoom in font size with jQuery ?

How to increment or zoom in font size with jQuery ? Some times we want place an option for all user in our web pages to view content according their preferable font size. Like some want to read the...

View Article

Croogo Security Error : Show security error on submit form

Croogo Security Error : Show security error on submit form Croogo maintain security check when HTML elements are generated. Croogo SecurityComponent expects you will create your HTML forms and Forms...

View Article

Cakephp Show permission error in CentOs 7 though i set 755 permission for...

This problem killed by two days because i set all directory and subdirectory of “app/tmp” folder with permission 755 but when i run my cakephp application it show the following permission Error. I...

View Article


Cakephp Pagination Count Problem when using bindModel

Cakephp Pagination Count Show an Error like bellow: Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Point.country_id' in 'where clause' This occurs it can’t find relation with the point...

View Article


Image may be NSFW.
Clik here to view.

Automatically placing an asterisk after a required field by Css

If you want to place an asterisk sign in all required fields in a form we can use Css to complete this work. By using CSS we can place an asterisk sign after the mandatory fields label. We also can...

View Article
Browsing all 10 articles
Browse latest View live