Badge variable

thet0olman - October 21, 2008 - 17:46
Project:User Badges
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Im using contemplate and I would like to know the variable I need to use to show the authors assigned badge.
something in the form of print $node->name is what im looking for.
Thanks

#1

Likeless - August 11, 2009 - 15:15

I'm not familiar with contemplate, but the standard way to print a user's badges is

<?php
print user_badges_for_uid($uid);
?>

#2

Likeless - August 11, 2009 - 15:15
Status:active» fixed

#3

System Message - August 25, 2009 - 15:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.