drupal 5 user id variable
NOTE: This is a very old migrated blog post. It may have incorrect formatting.So I wrote a blog post about how to put tabs in node.tpl.php... or my custom theme-ing method to do so. This relies on the user id variable. In drupal 6 the drupal user id variable is $user->uid. I spent forever googling "drupal 5 user id variable" to no avail. All that I found was mostly related to random comments here and there on forums that didn't relate to the answer. I found my answer randomly and by luck. In drupal 5 you have to pass the variable. Start out your node.tpl.php file with:
Then the $user->uid works perfect just like in the Drupal 6 example!