Project:Advanced Profile Kit
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I'm having a problem where the add a relation link was showing up for a while on the profile page but suddenly stopped with no apparent reason. Not sure if this is your jurisdiction, but I could sure use your help! Any thoughts?

Comments

#1

more detail- the problem seems to be in author pane. I did some debugging and at the end of the author pane preprocess, $variables['user_relationships_api_link'] does contain the link, but somehow it doesn't actually end up in the author pane?

#2

editing theme/advanced_profile_author-pane.tpl.php

changing line 95-97 to:

      <?php if (!empty($user_relationships_api_link)): ?>
        <div class="author-pane-icon"><?php print $user_relationships_api_link; ?></div>
      <?php endif; ?>

puts the link back...

but worth mentioning, the top portion of the if block in the author pane user relationships preprocess doesn't
$variables['user_relationships_api'] = $variables['user_relationships_api_link'];

#3

Status:active» closed (duplicate)

Sounds like a dupe of #588468: Update Author Pane template

Michelle

nobody click here