Closed (fixed)
Project:
Content Profile
Version:
6.x-1.0-beta4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 02:59 UTC
Updated:
28 Nov 2009 at 23:50 UTC
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
Comment #1
uomeds commentedWorking solution here
http://drupal.org/node/386756#comment-1317100