Love development but irritated after entering the ssh prompt again and again? Git commands – pull, push, BLT Commands – ‘blt sync:files’, ‘blt sync:db’ all asking the same question? Sometimes you want to fetch a cup of coffee while ‘blt sync:files’ completes but can’t leave because you are not sure when the next prompt for passphrase appears again?
Many times when you try to set up your local environment from scratch you might face this issue. This is originally SSH-error which shows “REMOTE HOST IDENTIFICATION HAS CHANGED”.
As defined in Composer site – “Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.” Composer requires PHP 5.3.2+ to run. Am considering that XAMPP is already installed in your computer as was for my case. The […]
Got a shock when you saw an old Magento Database with only hundred products but 1 GB size?? Stop worrying. The client has forgot to set up the log clean crons or used so many cache extension that log clean up has stopped working. You need to optimize magento database. In order to clean up […]
In many cases you might need to upload a second logo for a theme. In this case you would like to upload a second logo from admin. You will need to add this code in your theme-settings.php page.
In many cases of theming in Drupal we may may need a different set of header and footer. We can achieve this by writing a couple of lines in template.php for your current Drupal theme. Code snippet for Drupal 7 node type based custom template.
In many cases you may need to take in extra information from user and display some type of graph after registration which cannot be fulfilled by adding extra fields within the form. In other way we can redirect to a second page containing your required form. In your module you need to write the following code […]
Many people have heard about PHP 5, but how much they have applied in their real life is my question. Today I am here to explain some array functions. These array functions are very much useful and will help you handle arrays very easily : 1 ) array_combine In many cases we need to get state […]
Today with growing competition everybody is developing sites and its of utmost importance to optimize site with respect to speed. Many sites say that one second will lead to seven percent conversion rate loss. So every second is crucial. Well initially when I started my career with PHP I used to think that beautiful looking […]