JavaScript

DRUPALRANCH Newsletter:

(Tutorial) Add JavaScript to Drupal 6 for the front page only

Tips : Add JavaScript to Drupal 6 for the front page only

his cropped up in the Drupal forums today, again, so I dug this bit of code out since I was messing about with recently. If you want to load a .js file only for the homepage there's a couple of ways of doing it.

(Tips) Adding A Javascript Counter To Your Drupal Forms

Tips : Adding A Javascript Counter To Your Drupal Forms

if you want to add a javascript counter (n characters remaining) to your drupal forms, you can do the following ; (jquery code based very heavily on the jquery tricks on reindel.com)

1. add two new classes to your text area

(Tips) How to create Drupal Install Profiles

Tips : How to create Drupal Install Profiles

Suggested Screencasts
  1. create an install profile using one of the wizard modules, edit it and then create a site from it
  2. demonstrate creating a site from existing drupal install profiles e.g. Bryght Basic, Wiki and French

Resources

(Video) Understanding Input Formats

Tutorial : Understanding Input Formats

From time to time people will ask me questions about problems they are having with content not displaying properly in nodes. Site developers may have problems displaying images, javascript, flash and php code. The problem is usually related to the input format chosen when publishing the node. The following video provides a very detailed look at how input formats work within Drupal.

(Tips) Using the Ubiquity Firefox extension to create Drupal nodes

Tips : Using the Ubiquity Firefox extension to create Drupal nodes

The Ubiquity extension for Firefox is an awesome tool that allows you to download user created mashups to do some really cool things in your browser. The video below shows the power of what it can do.

(Best Practices) jQuery and JavaScript Coding: Examples and Best Practices

Best Practices : jQuery and JavaScript Coding: Examples and Best Practices

Why jQuery?

jQuery is ideal because it can create impressive animations and interactions. jQuery is simple to understand and easy to use, which means the learning curve is small, while the possibilities are (almost) infinite.

(Tutorial) Drupal 6 Basic Javascript w/ jQuery

Tutorial : Drupal 6 Basic Javascript w/ jQuery

Here at SOTC we have been working with Drupal as of late where we are working on updating our site. One of things that I couldn't find a whole lot of documentation on it is getting simple basic Javascript stuff working in Drupal 6.

(Tutorial) Suckerfish Style Menus in Drupal 6.x

Tips : Suckerfish Style Menus in Drupal 6.x

I spent hours and hours hunting around for a simple solution to implementing suckerfish-style drop-down menus in Drupal 6. Lo-and-behold, I couldn't find one. Every solution out there was overly complicated, and didn't quite do what I wanted it to.

After a few hours of hacking around, this is the solution I came up with.

(Article) Drupal for Firebug: Firebug talking Drupal

Article : Drupal for Firebug: Firebug talking Drupal



Tag Cloud