Long time no post. Been really caught up: Tons of work, travel, Acads. Anyway, I happened to be upgrading some old Drupal sites from 5.x -> 6.x. Here's a little SQL snippet to disable all non-core modules first.
UPDATE `system` SET `status` = 0
WHERE `name` != 'system' AND `name` !='block' AND `name` !='node' AND `name` !='user' AND `name` !='watchdog' AND `name` !='filter' AND `name` !='upload' AND `name` !='tracker' AND `name` !='throttle' AND `name` !='taxonomy' AND `name` !='statistics' AND `name` !='search' AND `name` !='profile' AND `name` !='poll' AND `name` !='ping' AND `name` !='path' AND `name` !='menu'
It wasn't all that intimidating as I thought.
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
Here's a nicely explained tutorial on setting up Shared Git repos./me is increasingly tending towards Git Advocacy.
This is terribly useful:
http://teknoid.wordpress.com/2008/08/06/habtm-and-join-trickery-with-cakephp/
Assuming that the argument is a node ID, being sent (say from a panel, under most circumstances)
// grab nid from referring node
$args[0]=arg(1);
if(is_numeric(arg(1))){
$nid = arg(1); //node id
$term = taxonomy_node_get_terms_by_vocabulary($nid, 3); // 3 is the vid. Use your own Vocabualary ID!
$tids=key($term);
return $tids;
}$args[1]=$tids;
If you run into this (amongst others, while trying to update your packages), like I did for various reasons (pauses while upgrading?, et al). You need to:
sudo apt-get autoremove
sudo apt-get install -f
and update packages all over again and possible do partial upgrades (or full) depending upon what you are prompted with.