orkjerns blogg

Primary tabs

Articles from orkjerns blogg

As I have briefly mentioned in an earlier post, you can easily post to your Drupal site from a phonegap app.

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.

Today I had a bunch of old nodes from a migrated d6 site that did not have comments enabled, although the content type had comments enabled.

So, today i decided to have a go at the services module, to make an app post nodes to my site.

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.

Pages