Posts

Drupal 7 – Views Slideshow only displaying one image #drupal7

If you are having a strange problem whereby Views Slideshow only displays an image for the first of your slides in Drupal 7 (perhaps to non-authenticated visitors) try disabling the devel module (if it’s enabled of course!).

 

This fixed this strange and annoying problem for us…

 

Drupal 7 – Backslashes being added to quotes on Blacknight Hosting

This is a very strange and annoying problem, when editing content on a Drupal 7 installation backslashes were being automatically put before quotes – a real pain especially when editing HTML!

 

This is a well known issue caused by a silly PHP5 module called ‘magic quotes’. Anyway on Blacknight I found that the only way to get rid of the problem was to make sure that magic quotes functionality was turned on in .htaccess – this would force Drupal to successfully work around the issue. The way to do this is to make sure the the following is included the .htaccess file:

 

This seems counter intuitive – surely we want to turn magic quotes off? however, including these lines in the file lets Drupal 7 know that the magic quotes functionality is turned on and then it successfully fixes the problem itself..

 

Drupal 7 – Programmatically creating nodes

Here’s a decent article that I found about programmatically creating content in drupal 7:

 

www.group42.ca/creating_and_updating_nodes_programmatically_in_drupal_7