InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Month: January 2015

Containable with mixed arguments, the CakePHP Beauty!

Arvind KumarCakePHPLeave a Comment on Containable with mixed arguments, the CakePHP Beauty!

Here’s an example of CakePHP Containable behaviour. Although, it was not a very complex find call but the beauty of the containable is this that you can fetch records using “tricky ways” which normally may not be possible with straight…

Read More→

How to uninstall a program from command line

Arvind KumarWindowsLeave a Comment on How to uninstall a program from command line

My Windows 7 operating system asked me to update my skype installation. I did follow update instructions but the upgrade failed. It however was a usual message in which Skype installer had detected an old installation of Skype. Hence it…

Read More→

WordPress uploads issue files with php in the name are blocked!

Arvind KumarWordPressLeave a Comment on WordPress uploads issue files with php in the name are blocked!

iThemes Security (formerly Better WP Security) has implemented some rules to prevent unwanted actions on your WordPress website. One of these Rules is to prevent php execution in side “uploads” folder. The line which is supposed to do it is…

Read More→

How to paginate a different model with options in CakePHP

Arvind KumarCakePHPLeave a Comment on How to paginate a different model with options in CakePHP

Assume you are on a LogsController which has Log as the default model and wanted to paginate another model LogColumn. Here’s How it goes:

How to get model name from controller in cakephp

Arvind KumarCakePHPLeave a Comment on How to get model name from controller in cakephp

Suppose we have $controller as an object for our controller class. We can do the following to get the model class: [code]$modelName = $controller->modelClass;[/code]

  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Build Reusable Components in React
  • Introduction to Node.js for Beginners
  • Getting Started with the MERN Stack: A Beginner’s Guide
  • Introduction to Node.js for Beginners
  • How to Modify WooCommerce Templates

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram