function
Adding classes and functions
Hello guys.
I'm starting to work on Drupal and I'm gonna build a few themes based on Zen.
But I'm still not used with the .info file. I'd like to add some custom classes and function on the subthemes, by adding new .php files, and if possible it should be added just once on the base Zen theme and just referenced on the other themes.
The problem is that I can't make it work... It works if on each page/story I use the include_once function, as in this exemple:
include_once("sites/all/themes/zen/zen/Mailto.php");
$mailto = new Mailto();
