Class

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();

Login to post comments · Read more
jjeff's picture

Lullabot Development Workshops in Portland

Hello Oregonians,

Just wanted to make sure everyone knows about the upcoming Lullabot workshops happening in Portland next month. The team will be in town from January 7th - 11th teaching Intro to Drupal Development and Advanced API and Module Development. You can sign up for either workshop individually or attend the whole week at a discount.

I hope we get to meet some of you while we're in town!

Login to post comments
seaneffel's picture

Washington DC Drupal Therapy

Start: 
2007-11-04 10:00 - 18:00 Etc/GMT

Happy to announce our next Drupal Therapy workshop, this time in the Washington DC area on Nov 4, right off the Metro system in Fairfax, VA. This is an all-day intensive training opportunity for new and novice Drupal admins and end users, aimed at providing quality Drupal knowledge foundations in a price bracket that non-profits and small businesses can afford. Take a look at the website for more information.

1 comment · Read more
Tresler's picture

Beginners2Admins Class

Hi,
I'm writing to guage interest in a New York City Drupal Beginners2Admins Class. Also, if interest exists, what people would like for it to cover. Basically, I have a small core of clients that want to pay me to take them from basic HTML to deploying and managing an online store with Drupal.
I've been tossing around class structure in my head, and I'm thinking about one class a week for three hours - probably on the weekends. Everyone in the class will be developing a site real-time as the class progresses. The final class will (hopefully) be launch for everyone participating, and a new group of drupal admins.

5 comments · Read more
Syndicate content