Impact Theme.

Impact theme Now available for DRUPAL 5 and 5.1!!!. Download here. Version 1.2 has a major bug so please update your themes to version 1.4

Downloads: 

Add icons to attachments ( files ) depending upon its type

This is one of those theme changes that is must have if your website has lot of content as file attachments.

Check out the post on drupal.org http://drupal.org/node/86413

So depending upon the type of file the corresponding icon will display, like pdf, mp3, wav, doc, xls and so on. You can practically add any icon you want.

Tabbed Blocks

How do you creat tabbed blocks in Drupal ?

Eg on: http://stilbuero.de/jquery/tabs/#section-1

Check the solution on http://drupal.org/node/89338

How-To: 

External Links in New Window with Message box

External links to the websites should alway open in new window. Else users will leave your website and may not return back.

Also its good to display a message box stating that they are leaving the website. Use the following method to achive this.

1. Create new file external.js
2. Put the following code in there.

$(function() {
$('a[@href^=http]').not('[@href*=yourdomain.com]')
.addClass('external-link')
.click(function() {
window.open(this.href, '_blank');
return false;
});
});

In above code replace yourdomain.com with your website domain.

Pages

Subscribe to My Drupal RSS