Skip to main content
ComputerMinds

Articles · Page 9

Drupal Planet

Using mollom with Drupal

We have recently started using Mollom on our Drupal site. Mollom is a clever anti spam service, that combines auto SPAM detection techniques with a normal CAPTCHA. The idea is simple, Mollom will check form submissions, if it thinks something is SPAM then it will prompt the…Read article →

How to capture SugarCRM leads in Drupal

We are big fans of SugarCRM and have worked on a number of projects to integrate SugarCRM with Drupal. This is a simple guide to performing a basic data capture integration between Drupal and Sugar, using a couple of Drupal modules (webform and sugarwebform). You can see an…Read article →

Drupal 6 tinymce button layout problem

We had a problem today with tinymce on Drupal 6, with a large number of buttons enabled the width of the tinymce button area just kept on growing - not prettyRead article →

Drupal - imagecache problems with special characters

We came across this problem on one of our Drupal sites the other day, someone uploaded an image with an ampersand in the filename, and imagecache refused to display the image. A bit of investigating revealed that imagecache had a problem with a number of special characters in…Read article →

Remove tinymce from drupal block edit page when format is set to PHP

Small one this to compliment our other article on removing tinymce from select textareas. This enhancement will hide tinymce from the Drupal block edit screen when the input format is set to PHP. This stops the problem of tinymce stripping the PHP tags from the block edit…Read article →

Displaying exposed filter form for views in Drupal 6 (views 2)

One of the joys of working with Drupal 6, and views 2, is that you have to relearn a lot of things you used to take for granted ... one trick we use in most projects is embedding views filters in blocks, nodes or custom code. There are plenty of scenarios this is useful, the…Read article →

Drupal running on lycos webhosting - 500 internal server error

Another quick one this, we recently had a small client experience issues with their Drupal site which was hosted on lycos webhosting. They hadn't changed anything on the site, but suddenly they were getting nothing but 500 (internal server) errors.Read article →

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 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 →

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 →