Blog
-
Getting the browser spell-checker to work with CKEditor in Drupal
Most modern browsers, such as Firefox 15, Chrome 21 and Internet Explorer 9, have a nifty spell-checker built in to help us ‘auto-correct’ generation write, but when you install the CKEditor some of this functionality is hijacked by the default javascript used by the text editor. Fortunately, if you’re using CKEditor for Drupal, it’s a quick fix to get the browser default spell-checker working again. If you’re not using Drupal you may still be able to apply the fix by noting the configuration settings and using them in your setup.
-
CodeIgniter Math CAPTCHA library, with multi-language plain text questions
I’ve just released a new Math CAPTCHA Library for CodeIgniter, which can use plain text English words for numbers and random question phrases. It’s also supports multiple languages (as it uses the core language library) and both addition and multiplication. It’s still in the early stages so it needs to be put through its paces, but hopefully the CodeIgniter community will find this a nice alternative to the regular image CAPTCHA or simple math CAPTCHA.
-
How to get your Google+ profile picture to appear in search results
You may have recently noticed that lots of Google search results now show profile pictures of authors alongside the result for the page. I think this adds a nice element of trust to the link, as you can see the person who wrote the page and you can be pretty sure the content comes from a person as opposed to a content aggregator or such like. As always, there’s no exact formula to controlling the search result information, but Google has published some advice for setting this up for your blog or website.
-
jQuery UI touch support for iPad and other tablets and smartphones
The jQuery UI library doesn’t support touch features by default, so trying to use the slider or drag and drop on the iPad won’t work. Fortunately, all that’s required to get this working is a small hack - enter jQuery UI Touch Punch.
-
Check and clear cache in CodeIgniter with this Output extension
I decided to write an extension to the CodeIgniter core Output library as it’s great for working with cache but doesn’t contain any mechanisms for clearing or managing the cache.