Cloning a production site to your local development environment is super easy. Often you have it in git, or maybe even as a make file. Anyway, you just grab the code and restore the site from a backup_migrate dump.
Cloning a production site to your local development environment is super easy. Often you have it in git, or maybe even as a make file. Anyway, you just grab the code and restore the site from a backup_migrate dump.
I was writing a module which took a user defined field and did something based on the value of it. To access the field value I had to access the array which consists of field_name['language'][n]['value'].
Well this one drove me nuts for a while. Why is jQuery not working in Drupal 7? For those of you writing custom jQuery for your theme or module, you might have experienced that you get the error “$ is not a function” in Drupal 7.
In one of my sites I chose to use the menu "main menu", and use it in the region "navigation". This was all good, until I discovered that the child of each menu link was not displayed if I clicked the parent.
Alright. I decided I should start sharing my answers to problems I have googled for, to save others the trouble of going through the long process of figuring things out for themselves.