Category: Blog

Drupal 7 Media book 1

Writing “Drupal 7 Media”

My book, titled “Drupal 7 Media”, was released by Packt Publishing on July 2013. It started with an official e-mail from Packt Pub’s project co-ordinator for the book, asking if I’d be interested to take part in writing this book. I had some thoughts, as to whether this would be an appropriate time to work on it (writers have a schedule they need to meet), but after a quick self dialoge which...

small_apache_1 0

More Munin monitoring – track apache web server health

Monitoring apache Monitoring internal apache information is useful if you’re using it to serve your web application requests. It has an internal module which you can load (and probably loaded by default already) called mod_status. To add monitoring for apache you need to enable mod_status module and uncomment the /server-status directory. If you’re working with an .htaccess that overrides the vhost/normal configuration you probably also need to skip re-writing the...

munin_plugin_start-book_cover 0

Book review: Instant Munin Plugin Starter

This book could not have come in a better timing. I have only recently researched an easy to maintain and gets-the-job-done monitoring tool and if you’ve dealt before with monitoring tools and network operating centers (NOC) in general then you know that some tools are just an overkill. Nagios, Zenoss and the rest of them are good tools on their own but the overhead with configuration, and deployment, having a central...

medium_drupal_online_users 0

Monitoring Drupal with Munin

Munin is a lightweight server/agent monitoring tool. Basically, it works by installing agents on machines you wish to monitor and they report status messages to a munin server, which is another component (ofcourse both the server and agent can run on the same machine). Munin saves those status messages in it’s own data store and is integrated with rrdtool to produce nice looking graphs which give you an overview of daily, weekly, monthly...

file0001289323776 0

Drupal’s 7 Radioactivity patch gets commited

A few months back I gave the Drupal Commons 3 beta version a run to get a close look at an updated version of Acquia‘s enterprise social collaboration platform. There’s much work to be done still but overall it feels a bit more solid than the bloated Drupal 6 based Commons stack It’s good to remember that beta testing isn’t only about you, but also about giving back feedback on the...

Drupal 6 - Manage subscriptions 0

Disabling notifications for programmatic node updates

More than often, we Drupal developers find ourselves doing programmatic node modifications via the node_save() function. If you’re doing that as well as have messaging and notifications modules enabled in your site then given the case that your users have subscribed to content-type updates and you’re doing these ‘behind the scenes’ node_save() stuff then you’re effectively spamming them with email updates each time you run that function. To mitigate this issue, when saving...

296d18c71d80d9ab42e2ff221b38cf65 (1) 0

Drupal 7 Rules book which I worked on has been published recently

In the past year I’ve been working on a Drupal 7 Rules book as a technical reviewer, which got published recently by Packt Publishing. “Drupal Rules How-to” is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the real power of the Rules framework, and understand how to use it on a site builder and developer level.

daloradius1 0

daloRADIUS VM update – missing php-mail-mime extension

Following a ticket on daloRADIUS’s SF page regarding a ‘blank page’ when creating a user/notification it lead me to investigate the issue. It seems that the VM is missing the php-mail-mime package. To mitigate this run: apt-get install php-mail-mime

Attachment links fixes for in-browser download 0

Attachment links fixes for in-browser download

If to quote the attachment links project on Drupal: “The Attachment Links module provides permanent links to files attached to a node. A single, easy-to-remember URL can be used to retrieve the preferred (canonical) or newest version of a file regardless of how many versions of that file have been attached to a node”. Incase the light-bulb didn’t turn on yet for you – with Drupal, if you upload a file...

Implementing user-specific, role-based access control per node type, per group. (Part 4) 0

Implementing user-specific, role-based access control per node type, per group. (Part 4)

This entry is part 4 of 4 in the series Implementing Organic Groups RBAC per Node Type

This entry is part 4 of 4 in the series Implementing Organic Groups RBAC per Node TypeImplementing role-based node access control in groups. Overview As mentioned earlier, Drupal is pretty permissive by default and don’t offer a ‘view page’ kind of permission for page content type. Moreover, it’s attempt to call other modules to control access to the content type is limited only to the module that created this node...