APK + User Relationships Problem

loconut - October 22, 2009 - 14:29
Project:Advanced Profile Kit
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

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?

#1

loconut - October 22, 2009 - 15:08

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

loconut - October 22, 2009 - 15:24

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

Michelle - November 13, 2009 - 04:12
Status:active» duplicate

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

Michelle

 
 

Drupal is a registered trademark of Dries Buytaert.