I am trying to print fields from my Advanced Profile Kit 'uprofile' in Author Pane.

I have tried adding the code suggestions here:
http://drupal.org/node/316009

to my advanced_profile_author-pane.tpl.php, but they are putting me in a redirect loop and preventing my pages from loading altogether.

For example, two implementations I tried were:

<?php
  $class = $content_profile->get_variable('uprofile', 'field_class');
  $class = $class[0]['value'];
  print $class;
?>
<?php
  $class = $content_profile->get_variable('uprofile', 'field_class');
  print $class[0]['safe'];
?>

Where field_class is a field given by uprofile. Both attempts give me:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

Is there any way to make this work?

Thanks.

Comments

uomeds’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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