Drupal

Stung by Drupal's Filter Caching, Again

When will I ever learn? I just lost another few hours of my life because - again - I didn't properly understand Drupal's filter cache system.

Hacking the 'Read more' Link in Drupal

| Tags and categories.

When displaying a list of node teasers, Drupal includes a 'Read more' item within a list of links at the bottom of each node. Other items in this list include links for adding comments, the number of page reads and other node-specific actions. For users not familiar with Drupal, this link can be easily missed, making it not particularly obvious that there is more information available.

Experimental Page Layouts/Formatting

| Tags and categories.

In my experiments with CSS and Javascript to create a range of different formating options and layouts, I need a test page to see if I have broken anything with recent changes. This is that page...

Embedding Java Applets in a Web Page

I have recently been experimenting with dynamically embedding Java applets within pages served by content management systems (CMS). As the <applet> and <embed> tags are depreciated and not XHTML standard compliant or supported by all browsers, that just leaves the <object> tag. This is fine, but even with this there are some serious inconsistencies between browser implementations - especially the Internet Explorer and the Mozilla/Gecko engines. This example shows how this can be solved fairly easily with some PHP in Drupal.

Browser Detection Methods

Whilst there may be many reasons for wanting to know which browser your web page is being viewed within, the main one I find is needing to tweak some CSS or embedded applet code to accommodate certain rendering inconsistencies. At first glance, this seems pretty easy with dynamically-generated pages as most server-side programming or scripting languages provide a way of doing this as the page is being assembled for delivery. However, for both static web pages and content that is likely to be cached by a content management system (CMS) it isn't so easy. This article therefore considers a range of available browser detection methods.