Skip to main content
ComputerMinds

Articles · Page 11

Notes from the team.

Drupal Science Camp - The results

Drupal Science Camp was the first Drupalcamp in the UK of 2012. It was wonderfully organised by Rachel Lawson and Euan Bayliss at a magnificent venue provided free of charge by Napp Pharmaceuticals Limited.Read article →

Using the Drupal overlay for non-admin paths

Drupal 7 ships with a module called 'Overlay', it is installed by the standard install profile and actually is pretty great for most people. If you don't know what I'm talking about then, it's this:Read article →

Drupal Science Camp - 21st & 22nd January - Cambridge (UK)

If you are free on the weekend of the 21st and 22nd and are anywhere near Cambridge (the UK one!) then make your way to the Drupal Science Camp. The details on their website are a little sparse so far, but it's shaping up to be an interesting little event - plus ComputerMinds…Read article →

Monitoring Varnish

We put almost all of our Drupal sites behind the excellent Varnish HTTP accelerator, and it gives us a massive performance boost for most site visitors. However it seems to have a tendency to crash without warning and occasionally just dies, leaving our sites down.Read article →

Migrate sites from one Aegir to another

We recently needed to migrate all our sites on one physical server to another server, there were more than 200 sites, and they were all hosted with Aegir. The old server was to be decommissioned, so we had to move all of Aegir's data about the site to the new server import into…Read article →

Our top Drupal modules of 2011

As the year draws to a close we thought it would be appropriate to look back at an exciting year in for Drupal modules, and to list our top 5 Drupal modules of 2011. To qualify for the list the module had to have it's first release in 2011, and have a Drupal 7 version - other…Read article →

Rendering Drupal 7 fields (the right way)

(We have a Drupal 8 version of this article now too!)Read article →

Quick tips: Adding an existing project to a drupal.org sandbox

Most projects start with you trying out something locally, getting it working and then after some initial testing you might then want to publish the project on Drupal.org. Sandboxes are a great way to throw up some code and the perfect place to pop random code that others might…Read article →

Drupal node load references : Drupal 7

In Drupal 6, if you called node_load then what you'd be returned would be your own copy of the node to change and modify as you pleased, but in Drupal 7 this was changed. By default, what you actually get back from a node_load is essentially a reference to a global singleton…Read article →

Multiple conditions for dynamic forms in Drupal 7

Here's a quick follow-up to my original post on Dynamic forms in Drupal 7, as a reply to Wappie08, who asked me about combining conditions in the #states array to add increased control over the display of your form elements. The question:Read article →

Setting up a Drupal API site for module developers

The code that runs http://api.drupal.org is of course Drupal, and it is essentially just scanning the code it's told to and displaying it in a nice format. You can quite easily set up your own API site that you can use to scan your own custom code, or if you're a module…Read article →

Adding the new google plus one (+1) button to your Drupal site

I am sure someone will roll a module very soon, but in the meantime I thought I would blog about our first experiences in adding the plus one button ...Read article →

ComputerMinds become Silver sponsors of DrupalCon London

We are all very excited about DrupalCon coming to London (well London-ish - http://london2011.drupal.org/conference/venue ) - and now that we are Silver sponsors we are literally jumping for joy ... now we just need to think of something to put on our very own exhibitor table ...Read article →

Drupal database prepared statements

Drupal 7's database layer is awesome, it is built upon PDO and one of the great things about PDO is named placeholders, they allow you to build queries like:Read article →

Facebook share links - controlling the data sent

Not strictly a Drupal post this, but something that I was playing with yesterday that I was really struggling to find any documentation on. We wanted a simple "share" on facebook link, we didn't want to go through the process of creating an app and using the opengraph API -…Read article →

Storing data in Aegir

Aegir is a very clever Drupal hosting system built using Drupal and Drush. It is divided into two parts: the frontend and the backend. The frontend is essentially just a standard Drupal site that stores its data in the database and then some drush scripts that manipulate the…Read article →

Aegir tasks daemon

Aegir is a very clever hosting system for Drupal that sites and provisions them on various servers and does lots of clever things. One of the clever things that it has had for a while is a task queuing system. You can ask Aegir to lots of different things all in one go, and…Read article →

Setting default drupal theme during installation : programatically install a drupal theme

Here's a quick post that will be a reminder for us as much as anyone else! Setting the default theme during installation using an installation profile is surprisingly hard in Drupal 6, and easier though not obvious in Drupal 7. In Drupal 6, we used the wonderful Install Profile…Read article →

CTools Path Access plugin

I made a new Drupal 7 module today... the CTools Path Access plugin. It is a very simple module that provides a CTools access plugin for using the access rules of another path.Read article →

Playing second fiddle

While at Drupalcon I couldn't help but want to get involved in core development of Drupal. I have been involved on the fringe of Drupal core development for a number of years, and I've found bugs, submitted patches, tested others' patches, fixed others' patches and contributed…Read article →

Drupalcon Chicago - Core conversations - Content vs Configuration

Drupalcon Chicago had a track for 'Core conversations' that were discussion focused and about the future of Drupal core.Read article →

Apache Solr boost Drupal search results at query-time

Boosting terms in Solr search results produced by the Apache Solr Search module that integrates Solr with Drupal is something we had to do for a project recently. If a user has come to our website from a search engine, we can pick up the terms that they had originally searched…Read article →

Drupalcon Chicago - Keynote - Dries Buytaert

Dries kicked off another Drupalcon today by giving his keynote presentation to the community. If you missed it then you can view it on the Drupalcon website but read on for my summary and thoughts.Read article →

Using project mercury/pantheon for hosting a Drupal site

We have been using mercury/pantheon to host sites for a while now, we love the fact that you can get a fully configured Drupal hosting environment with all the trimmings for very little work. Specifically we have been using linode for our actual hosting, they are well priced,…Read article →