Give the gift of Drupal. All merchandise is 50% off through 2016.
I've created a few tiny modules that uses the theme() function to style their output, this works great.
My modules share some common logic, and i'd like to share this between the modules.
I've tried to define variables in the phptemplate_preproccess function in my themes template.php fil, but they don't seem to be available in my module templates.
Is it not possible for my module tempate file, to access variables defined in the preproccess functions? and if it's not, is there another way to share variables/functionality between multiple modules?