Drupal

Everything You Ever Wanted to Know About Theming*

I will be doing a session at Design 4 Drupal this weekend at MIT in Cambridge.

If you are in the area, please feel free to come ! I will be talking about items that are alittle more advanced ... but easy to understand for beginners!

Cheers!
johnvsc

Center Primary Links

in
We have found that this solution works:
#primary ul {
    position: static;
    text-align: center;
}


#primary li {
    display: inline;
    font-size: 100%;
    margin-right: 5px;
    float:none;
}

#primary a {
    display: static;
    float:none;
}

Happy Birthday Drupal, you are eight

in
Eight years ago today Drupal 1.0.0 was released. It's been a big year for Drupal, another big release with Drupal 6, a lot of awards, and a lot of recognition. The project has had some notable departures, promotions, and the addition of many great contributors and users. Happy Birthday to the Drupal project and its amazing community.
~ posted by Amazon

Accessing the current node information and the current user information in Drupal

in
This is a very common question in the Drupal forums, one that I have often had to look up when I am working on a project: "How do I access the current node information from the within the node that I am on?". Like wise, a similar question is " How do I access the current user information so that I can say something like: 'Welcome, *username*! Thanks for visiting our site!' ?"
<?php
global $user;
 
drupal_set_message("
". var_export($user, TRUE) ."
"); if ( arg(0) == 'node' && is_numeric(arg(1)) && ! arg(2) ) { $node = node_load(arg(1));

Sending Variables from the Drupal Interface to Flash

I really love Flashnode ! The way that it makes adding Flash to your drupal site is a no brainer. Also, the fact that you can do two essentail things with it; makes it a killer module:

  1. Flash node input filter
  2. Passing Flashvars to your Flash movie

Drupal Multi / vHosts

I got picked up by the great team at Sony BMG to work on their Drupal sites* and their team is hooked up with Mac and I, of course, on a pc. Even though it is not my native platform, I am comfortable on a mac. Give two buttons on a mouse and, really, I am good to go. However, as we have a very heavy load to launch, working on a foreign platform might not be the most productive thing... so, like most all of us here to day, I needed to adapt to survive.

Intro to Drupal: Session Notes

Peter gave a Killer introduction this past weekend: here is a link to the post summarizing it: http://groups.drupal.org/node/14919

Please note the addition by Dries below!

Access the Drupal Database

Here is a help file that I created for myself on how to access the database while writing a module. I thought that it might be useful. Later this week, I will create a post recapping Objects, Arrays and Functions: the stuff we talked about at the beginning of session 2 on Sunday at Drupalcamp, this weekend. Enjoy
<?php
// remember to bring the global variables into Scope
global $user;
/*the db_query() function does the selecting, inserting, deleting, and updating

Theming recap with a readable "readme" for Zen (Drupal5)

First of all, thanks to everyone who came to Drupalcamp this weekend and thanks to those to attended Theming 101... I hope I didn't confuse you... and if I did, I am happy that Robbie was there to clarify /add to the content. One of the questions that we often ask eachother in is "What is your favorite program/software". While I want to always say Photoshop or Flash or most often "Drupal", really the only true answer is Ghost. I think of that today because the sessions brought to mind several files that I created before for my own reference and I would like to share them with you .... however, I had to go into my back ups (I back up my whole laptop every Monday Morning at 1am) to get the file.. yeah, I love Ghost.
Syndicate content