Build

Tutorials, codebase, themes, jquery, css, html and so on

Extend your Page Title using the Drupal breadcrumb path

If you use breadcrumbs in your website to help visitors navigate, you could also use these to extend the functionality of your META <title> tag. Let me give you an example of where this can be useful. read more »

Inherit the full url of the parent book page by using a Drupal token

Recently I created a book in Drupal using two Content Types. One type called Book Description (which has a cover, an ID and some other CCK fields) and another type called Book Page. So far so good. Problems arose when I tried to setup Pathauto. For the Book Description I entered book/[field_book_id-raw], which worked great. For the Book Pages I needed something like book/[field_book_id-raw]/title-of-my-page. This is where I got stuck.read more »

Better debugging of web sites with MS Expression Web SuperPreview

Most web developers have lots of issues making their design cross-browser compatible. It's almost impossible to create a website which looks equal on IE6, IE7, Firefox and Chrome. And I'm not even talking about Mozilla, Opera and other browsers yet. A best practice nowadays is to create your website using a standards compliant browser like Firefox until your mock-up matches your design. Then fire up other non-compliant browsers and use specific stylesheets using Conditional Comments to fix the errors other browsers (like IE6 and IE7) create. And here lies your problem, because you cannot have IE6 and IE7 on the same desktop.read more »