drupal blogs
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)
- john's blog
- read more
- 9080 reads
adding external javascript content to your drupal nodes or views
- john's blog
- read more
- 17050 reads
using jquery for in-place prompt text in your exposed drupal filters
- john's blog
- read more
- 11857 reads
drupal actions module
the drupal actions module is one of those useful and under-documented drupal modules out there. this blog is not meant to serve as complete documentation for this module, but will provide some helpful hints to get you started.
- cailin's blog
- add new comment
- read more
- 10370 reads
protecting your drupal site under development
while you are developing your user site, you probably want to protect it from prying eyes. you can do this using a drupal module or an apache configuration.
- john's blog
- 2 comments
- read more
- 2155 reads
configuring vim for drupal php files
generally speaking, vim is a pretty smart text editor. if you put the following in your .vimrc file
syntax onthen it will color highlight your file appropriately. it chooses the appropriate color highlighting by looking at the file suffix (e.g. .java, .c).
unfortunately, the drupal .module and .inc files fool vim, because these are not standard php extensions.
- cailin's blog
- add new comment
- read more
- 3350 reads
drupal google analytics and event tracking
google analytics provides for arbitrary javascript event tracking. anywhere in your page that you can put an onClick or an onMouseOver or any other event you please, you can also name that event and track it in google analytics. this is particularly handy for tracking hits to downloadable content (for example pdf files).
- cailin's blog
- 2 comments
- read more
- 4409 reads
drupal cck vs taxonomy
Drupal provides two methods for adding structured data to a node.
The first is the out-of-the-box Taxonomy module. Taxonomy allows you to associate a vocabulary with a content type. When creating or editing the node, you are invited to choose a value for the vocabulary from its associated list of terms. In essence, you are associating a structured field with your node. The name of the field is the name of the vocabulary and the value is the selected term.
- cailin's blog
- add new comment
- read more
- 18758 reads