328 Results
  • Latest
  • Oldest
Article
Posted on 17th January 2009
Takes about 1 min to read

If you're still stuck in the Views dark ages, and 1.6 is as good as it gets for you here's a quick tip to make things a little easier: Exporting your views You've just spent a good hour creating and tweaking that view until it shows exactly the right thing, and now you want to save it for posterity, portability and all that jazz. Simple. Click on the 'Export' tab within Views and you'll get...

Published in: #Drupal Planet #Drupal views
Article
Posted on 15th January 2009
Takes about 1 min to read

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 submitter to complete a CAPTCHA. This means that you don't risk losing valid submissions to an over aggressive SPAM filter, and you don't risk scaring off users with...

Published in: #Drupal Planet
Article
Posted on 31st December 2008
Takes about 3 mins to read

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 example of this on our contact us page - feel free to fill the form in, but it is our live contact form so don't be suprised...

Published in: #Drupal #Drupal Planet
Article
Posted on 28th September 2008
Takes about 1 min to read

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 pretty Adding the following CSS to our Drupal 6 theme solved the tinymce button problem .defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td { float:left; } .defaultSkin table.mceToolbar{ float:left; }

Published in: #Drupal #Drupal Planet #tinymce
Article
Posted on 27th September 2008
Takes about 1 min to read

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 the image filenames. The solution is a little imagecache theme override - you can see examples for both Drupal5 and Drupal6 below Drupal 5 version function phptemplate_imagecache($namespace...

Published in: #Drupal Planet #imagecache
Article
Posted on 20th September 2008
Takes about 1 min to read

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 textarea when you edit your block The following function goes into your template.php file and will solve the problem of tinymce showing up on a block when the...

Published in: #code #Drupal Planet #tinymce
Article
Posted on 15th August 2008
Takes about 1 min to read

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 classic being to create a flexible views based replacement for the normal Drupal search. Anyway, enough of the blurb -...

Article
Posted on 3rd May 2008
Takes about 1 min to read

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. The solution turned out to be the .htaccess file, and specifically the following 2 lines Options -Indexes Options +FollowSymLinks Commenting them out solved the problem and the site was back up and running.

Published in: #Drupal Planet
Article
Posted on 1st May 2008
Takes about 1 min to read

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. .mceToolbarTop * { float:left; } .mceToolbarTop select { width:auto!important; } .mceToolbarTop option { float:none; }

Published in: #CSS #Drupal Planet #Theming
Article
Posted on 27th April 2008
Takes about 2 mins to read

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 sets in Mysql. It all comes down to this - pre 4.7 Drupal stores utf8 encoded data in latin1 based tables (although this sounds a bit silly there were...