Site users
OpenLayers Vector Layers and IE
Using the OpenLayers Javascript from the OpenLayers module can present some problems with rendering vector layers in IE.
The root cause of the issue:
Internet Explorer has a thing called VML: Vector Markup Language, which it uses to draw graphics. VML is what you use in IE: canvas4ie is way slow, google maps uses VML to draw routes, and OpenLayers uses it to draw vectors.
VML elements are styled by creating CSS-like styles in a namespace. OpenLayers creates an ol: namespace and then creates styles like ol:line ol:circle, etc.
To do this, it has to access document.namespaces. Document.namespaces is not always around: notably, you can't depend on it being around before document.ready.
But, sometimes document.namespaces *is* around before document.ready and that's the thing that messed up my worldview. So, the theory was, there are modes. Something in HTML can prevent document.namespaces being filled in before document.ready.
Here's how it goes.
$( or $(document).ready()
- If there is a broken image on the page, then namespaces is not filled in.
- If the page has no broken images, then document.namespaces is accessible
document.load()
- document.namespaces is always filled in.
The Fix
Views Arguments basics
First I want to state that this might be incomplete or very simplifying in some ways, but after more than three years with drupal I still haven't completely grasped this.
This page will try to explain in a very simple way how arguments in views 2 work.
First of all what are view arguments?
Arguments are a way to send information to a view, these arguments can filter the view or modify them. I use them mostly to create dynamic view filters, filters that change according to the content that's on the page, usually with block views or views inside quicktabs.
Example:
I have nodes with a certain term, let's say "cars". I'd like to display a block view on each page with other nodes with the term "cars". Kind of a related articles block.
So, I'll add an argument : Taxonomy: Term ID.
Now since most of pages I'll be looking at will look like this:
www.mysite.com/node/##
I want to take that ## (node id or nid) find out what term is assigned to it (in a specific vocabulary) and then filter my view results according to that nid.
Lets understand the two different types of arguments that are available:
$args and arg() - yes there's a difference.
$args – are arguments that are being passed to the view, so if you have a page view and it has this url
www.mysite.com/pageview
then the arguments are what comes after the page view
www.mysite.com/pageview/first/2/third
Pollfield
Installation
Download the file from the project page and extract it into appropriate folder in your Drupal installation, most often under sites/all/modules/.
Enable the module under Modules page on your site. The Pollfield module requires CCK, so ensure you have CCK enabled first.
Setting up a Pollfield field
You need to create the Pollfield field in a content type where you want Pollfield functionality to appear, just as you would with any other CCK field.
Common content types where Pollfield functionality is used are Story and Forum topic. The advantage of Story with Pollfield over regular Poll content type is you can add text (Body field) to explain your poll as necessary.
Under Manage fields tab of the chosen content type fill in the New field form. For Type of data choose Pollfield, Form element to edit the data will automatically display Pollfield as the only choice.
Term Fields - define fields for taxonomy terms
This module enables you to add custom fields to the taxonomy terms of vocabularies via the web interface.
Summary - Why would I need 'term fields' ?
Drupal provides only title & description fields to terms & if you wish to have more fields to the terms forms you can make use of this module to define custom fields.
Module page: Term Fields
Flickr ImageField
Flickr Imagefield depends upon and enhances ImageField. You must first know how to use ImageField in order to use Flickr ImageField. It also uses the settings from the Flickr module so this module is required as well.
Flickr setup
This module modifies the administration page of the Flickr module, providing help on how to get the required token that is needed for write access for your Flickr API key.
ImageField designation of Flickr upload
After setting up Flickr and creating your typical ImageField through CCK, you will notice a new checkbox while configuring your CCK ImageField in the Global settings, just above the Required checkbox. This checkbox will only be enabled if you have filled out your Flickr API information. 
After enabling this checkbox your images will be uploaded to Flickr upon submission of new content that utilizes this field.
Preventing contact spam e-mails
It is important to note that Drupal core and it's Contact module do not provide any kind of spam prevention and could open up your site to lots of spam e-mail attemps if anonymous users can use the contact forms.
The good news is there are lots of good spam-prevention modules that easily integrate and protect the contact forms and other forms (like comments, nodes, etc).
