Thursday, Sep 27, 2012
Rules is a module to do causation in Drupal.
Tuesday, Aug 21, 2012
This is part 2 (or a re-visit) of a previous blog post (Drupal Post Migration Data Cleanup) on updating content after moving it to another domain . If you have your data inside a multisite, you probably have some embedded some images/files into node bodies (or such like) and want an easy way to replace all of the instances. OK great. Using the REPLACE function in MySql you can easily replace instances where the url for the files is wrong. ...
Tuesday, Aug 14, 2012
How to resolve “An AJAX HTTP request terminated abnormally” error on Drupal? As a regular Drupaller I come across quite a few errors now and again. Fortunately (although I get this one quite a bit in views) I do know what I am doing wrong. It is all down to the ````$base_urlthat you have set insettings.php. If you have set it (uncommented the # from http://www.example.com) and you attempt to use it from a non authenticated domain you will get this error. ...
Sunday, Apr 15, 2012
Presented at DrupalCambs March 2012. The presentation looks at the fantastic Drupal Commerce module and how you can look to get up and running with it quicker.
It lists modules you can use and ideas to look at how to restructure the thinking of your e-commerce platform.
Thursday, Mar 15, 2012
Presented at Drupal Science Camp January 2012 in Cambridge.
Monday, Mar 12, 2012
After struggling with various adoptions for getting collapsible fieldsets to work within nodes for Drupal 7 I came across a final solution.
Make adjustments to template.php (or in a module if you prefer):
function THEMENAME_preprocess_html(&$variables){ // This function looks for node 1 and only adds the javascript for this. // However it can be extended in different ways if required if ($variables['node']['nid'] = 1){ drupal_add_js('misc/form.js'); drupal_add_js('misc/collapse.js'); } } In D7 you must also make sure that your legend contains a span with class fieldset-legend, and that your content is contained in a div with class fieldset-description, and that you include misc/form. ...
Monday, Mar 12, 2012
Following up on my previous post about collapsible fieldsets in drupal 7 nodes I recently wanted to just add some jQuery UI tabs to another node, and taking inspiration from my previous post about collapsible fieldsets in Drupal 7 nodes, made a little few edits to the template.php to achieve this as well. I actually made this to display vertical tabs from jquery ui, which is why the ui-tabs-vertical class has been added to the JavaScript, so if you don’t want that then just remove it. ...
Tuesday, Aug 16, 2011
So, it has been a while since I last blogged, probably because I have had a lot of work on recently, which certainly isn’t something to complain about. The latest little snippet I have for you is concerning webforms, and more specifically overriding the submit button with an image button.
Basically when I searched around drupal.org, I found a range of differing answers, none of which appeared to solve the problem for me. ...
Monday, Jun 13, 2011
Well this post has been a long time coming. Around 3 months ago I presented to Drupalcambs a presentation about extending the migrate module to enable you to map and import data using the fantastic migrate module. I say fantastic as the migrate module lets you do some awesome stuff when migrating.
Previously it had been hard to properly insert nodes (with files/taxonomies), taxonomy terms and users, however, utilising the new fields that Drupal 7 gives us has made it so much easier. ...
Thursday, May 26, 2011
Although the internet and websites are brilliant ways of finding information, there are a few unfortunate limitations (currently). Most of the time websites are restrained by size of screen and therefore what you put on your screen is vitally important. With so much data available, what people want is data that is related to what they are looking at. They want context to be IMPORTANT.
By using Panels and Arguments in Views through Drupal (6 or 7) you can make each of your pages (or pieces of content) contextual, with links, images, videos and even other parts of text around it remaining contextual. ...
Connect on LinkedIn. Follow me on Twitter. Grab the RSS Feed