Articles · Page 12
Notes from the team.
Quick tips: Inspecting a Solr Document
Another quick tip here: if you're working with the Apache Solr module, specifically looking at the documents that are being created from your nodes, and you want to print out the document and have a look at what fields and values are on your $document then if you did this:Read article →Drupal publishing queues
Have you ever wanted to create a 'queue' of content that would be published at a regular interval? I have.Read article →Changing Display Suite fields in update hooks
We've been using Display Suite with Node displays on one of our latest sites. It was an experiment, and possibly not something we'll do again - DS offers some great functionality with build modes and ways to re-arrange fields and all sorts on nodes, but since we end up theming…Read article →Drush make, Aegir and Dropbox
These three tools (drush make, Aegir and Dropbox) have come together to produce a release system that means I don't have to ssh into a remote server to deploy a new version of site. This means that I can do releases really, really simply, and actually with nothing more than a…Read article →Creating new field formatters in Drupal 7
Creating extra field formatters in Drupal 7 is fairly simple, but it can take some poking around in the new Fields code. So here is some sample code to make it easier for you! You can add formats to your own fields -- or existing fields that are defined by other Drupal modules.…Read article →Goodbye Throttle module
Last month Drupal 7 made it's first stable release and we have leapt at the opportunity to make use of it in the redesigning and rebranding our website. There are loads of exciting things in Drupal 7, bringing flexibility, convenience and even better performance through…Read article →Quick tips: Removing $title and $breadcrumbs in Drupal 7
In Drupal 6 you could get hold of and manipulate all the variables available to a given template file in a preprocess function, within your themes template.php, such as template_preprocess_page() for the page.tpl.php. This was a handy way of, say, conditionally removing the…Read article →Trawling through the archives - ComputerMinds in 2005
The waybackwhenmachine is a wonderful and scary thing, and we have unearthed a couple of particularly special newsletters from 2005 ...Read article →ComputerMinds website browser statistics
Not the most exciting of articles this, but thought I would share the browser stats for the ComputerMinds site - given less than 8% of traffic is coming from IE I think you can probably draw some conclusions as to the type of visitor we get :)Read article →Dynamic forms in Drupal 7
When building forms, you will often want to only provide certain options if other options are chosen by a user. For example, there's no need to show the 'open link in new window' checkbox, if the 'make this into a link' checkbox hasn't been ticked. These kinds of dynamic forms…Read article →Drupal roles : Programatically Adding a role to a user in Drupal 7
It used to be a bit of a chore to add a role a user in Drupal, but no longer!Read article →Certified to Rock field
Certified to Rock is a site that allows you to look-up Drupal.org user names, and see their 'certified to rock' score.Read article →Email Logging in Drupal
There are a number of scenarios where you might want to log email being sent by Drupal; perhaps locally during development or for urgent debugging on a live site. There are a number of options available for Drupal email logging, and this article will cover four of the most…Read article →Using CTools for form item dependency / visibility
One of several helpers included in the ctools module, ctools dependency is described on the module page itself as "a simple form widget to make form items appear and disappear based upon the selections in another item". It's designed to make it easy and quick to hide/show form…Read article →Getting Aegir to provision a lot of sites
There may be better ways to do this, but suppose you want to get Aegir to provision a lot of sites, maybe from a list you've got in CSV file, then you can now use Feeds!Read article →Views data exports
Views is the king in Drupal land when it comes to making lists of your data, rightly so, it does a wonderful job of making it easy to choose the data you want to list. It also allows you to render your list in various forms, lists, tables. RSS feeds or even jump menus. So if…Read article →Facebook like views integration
Facebook is rapidly taking over the planet, and Drupal is arguably trying to do the same. Facebook added the concept of 'liking' a webpage to their array of social tools a while ago. Drupal modules quickly added the ability to 'like' content on your site.Read article →Aegir HTTP basic authentication
Aegir is a system for managing sites using Drupal and drush. We use it to manage this site in fact.Read article →Removing that pesky trailing slash
So, it's perfectly valid to visit a site using a URL like:Read article →ComputerMinds sponsor the BMF Bastardos
ComputerMinds are proud to announce an exclusive shirt sponsorship deal with the BMF Bastardos "elite" touch rugby team. Playing in the Bristol touch league the Bastardos had a successful first season picking up the coveted wooden spoon ... luckily there is no proven…Read article →Hiding empty Panels panes
If you're using Panels to display dynamic content, you might want to dynamically check whether to display the panes based on what will be shown. For example, if there is no content to show in a certain pane, you probably don't want the pane to show at all.Read article →ComputerMinds - move into new premises
ComputerMinds have moved!Read article →Views caching
A little while ago I blogged about views content cache as a way to increase performance of your Drupal site. Today I released version 2.2 of the module, that adds lots of lovely features.Read article →Drupal(Vol)Con 2010
Computerminds were due to attend the latest DrupalCon over in San Francisco, however Eyjafjallajokull had other ideas. With planes grounded and Europe at a standstill (in the air) we couldn't make it.Read article →Let's talk
Got a Drupal problem you'd like a second opinion on?
You'll talk to a developer, not a salesperson.