Skip to main content
ComputerMinds

Articles · Page 14

Notes from the team.

Drupal TinyMCE buttons displaying on multiple lines

A quick post about the Drupal tinymce module and it's tendancy to display all it's buttons in one inflexible line. The following CSS will split the tinymce buttons onto several lines.Read article →

Drupal mysql utf8 and latin1 character set issues

Upgrading from Drupal 4.6 has always been complicated by issues of character sets, but the Drupal upgrade scripts normally solve most of these problems for us. But when your dealing with a complex upgrade you need a good understanding of how Drupal is dealing with character…Read article →

Drupal Problem with the admin/content/node page filter

A rather obscure one this, but we found a problem today on one of our Drupal sites with the filter form on the node admin screen (admin/content/node). Changing the filter settings on the form had no effect, which prevented you from filtering the list of nodes. We tracked the…Read article →

Bulk deleting Drupal nodes of a particular content type

The Drupal admin interface allows you to delete up to 50 nodes at one time, which is great - but there are times when you it's just not enough and you need to bulk delete many thousands of nodes.Read article →

Increase the performance of Drupal's ubercart for sites with a large number of products

We are in the process of putting together a large (20k products) store with ubercart and ran into some performance issues due to the hook_forms implementation.Read article →

Drupal image assist force a default alt tag

We make heavy use of the Drupal image assist module (or img_assist as its known) - but find that its handling of empty alt tags is quite poor. The problem being that if when inserting the image the user does not specify a caption or description then the alt (and title)…Read article →

Multilingual views in Drupal when using i18n module

Building multilingual sites in Drupal using the i18n module always throws up a few fun problems to be solved. One of the most awkward being views.Read article →

Drupal 6 is released - hoooooray!!

Well, it's finally happened - the brand spanking new Drupal 6 has been released into the wild. We have been playing a lot with Drupal 6 and getting ourselves quite excited (finally drupal_execute has decent return values, and the menu system feels a bit less 'brutal'). However,…Read article →

Drupal themeing : Adding active class to the Drupal primary links

This little snippet lives in your phptemplate_variables function and will set a useful 'active' class alongside the not so useful menuid-active class which Drupal assigns to the active primary linksRead article →

Drupal 5.6 bug affects prevents saving of HTML filter settings

Just flagging this as a bit of an issue - it appears there is fairly serious bug in the version of the filter module provided in Drupal 5.6 which prevents you from saving changes to the allowed HTML tagsRead article →

Force the user to select a leaf item in the Drupal taxonomy

Its a tricky Drupal taxonomy problem this one, imagine you have just set up your taxonomy to represent types of web sites:Read article →

Query string in drupal menu items

This was written in response to a post on drupal.org regarding query strings in drupal menu items. Currently if you create a drupal menu item linking to an external site with a querystring then this will render correctly. However if you try and use a relative URL (i.e. an…Read article →

Remove the image assist icon from Drupal textareas

This small theme override will allow you to select which Drupal textareas the image assist icon will appear onRead article →

Drupal association

The Drupal association have just rolled out a new logo and are having a bit of a membership drive ... so if you haven't joined yet do now! http://drupal.org/node/204175Read article →

Mod rewrite rules and querystring parameters in Drupal

Just a quick one this, and not strictly Drupal related - but might save you some time when you are writing modrewrite rules to rewrite legacy URLs.Read article →

Allowing HTML in Drupal menu items

You have to be a little careful with this one, but there are many times when in would be very handy to have HTML in your Drupal menu items. For example, you might want your Drupal menu to have a <br> to force a break, or perhaps insert a <span> around some content to get a…Read article →

Allowing unfiltered content on the Drupal contact page

The contact page exposed by the Drupal contact module is great, it allows you to put together a contact form quickly and easily. But there is one small(ish) problem, the header text for the form is being filtered - which prevents you from using certain tags (for example embed).…Read article →

Customising the Drupal search block form

The Drupal search block form is one of those things that gets used in most themes, and frequently needs a bit of themeing to bring it in line with your target design.Read article →

Drupal - Fatal error : allowed memory size exhuasted

One of the classic Drupal problems that catches a lot of newbies out is the memory error exhausted error. Typically you get this on the modules page - but it could appear almost anywhere.Read article →

Flash objects in Drupal

Its always the way, you go months without dealing with flash in Drupal when all of a sudden you get 5 people all asking the same thing, how do you deal with flash in Drupal.Read article →

Fix Drupal fieldset titles disappearing in firefox

You may have spotted that for some Drupal themes in some versions of Firefox the titles on fieldsets are sometimes not there ...Read article →

Adding custom markup to Drupal menu items

There are times when it's necessary to add some additional markup to a particular menu item, for example a link to DrupalMinds might need a strong tag around the Drupal portion.Read article →

Adding text to the Drupal feed icon

Drupal's handling of RSS's feeds is generall excellent, BUT sometimes it's nice to add a bit of explanation text to the standard orange feed icon.Read article →

Another drupal release (5.5) - deja vu!

File this one under "slightly annoying but can't be helped", after a fun day of upgrading sites to 5.4 we find that 5.5 has been released! Fixing a fairy hefty bug in the taxonomy term RSS feeds introduced by 5.4 you can't really not upgrade ... at least we know what we will be…Read article →