Went to the module's files and found default.php file on or about line 53 weird the link code SHOULD be.
- Code: Select all
<div class="gk_js_member_wrap">
<?php if( $this->config['show_avatar'] ) : ?>
<a href="index.php?option=com_community&view=profile&userid=<?php echo $member->id; ?>" class="gk_js_avatar">
<img src="<?php echo ($this->config['avatar_size'] == 'thumb') ? $member->_thumb : $member->_avatar; ?>" width="<?php echo $this->config['avatar_width']; ?>" height="<?php echo $this->config['avatar_height']; ?>" alt="<?php echo $member->name; ?>" />
</a>
<?php endif; ?>
Now here is what comes out on the front end:
- Code: Select all
<div class="gk_js_member_wrap">
<div class="header_top">
<div class="header_bottom">
<divclass="header_left"> <div class="header_right">
<a href="/component/community/CGRANT770/profile/" class="gk_js_avatar">
<img src="/components/com_community/assets/default.jpg" alt="CHARLES GRANT" height="140" width="140">
<span class="gk_js_member_name">
<span>CHARLES GRANT</span> </span>
</a>
</div>
</div>
</div>
</div>
<div class="gk_js_lastonline">
<span>Last online:</span>
<span>2010/06/10 05:20</span>
</div>
<div class="gk_js_profileviews">
<span>Profile views:</span>
<span>0</span>
</div>
</div>
Now if you notice, the module default.php file has ONE div class, gk_js_member_wrap, just prior to the image code/link. But on the front end, there are several div class elements between the gk_js_member_wrap and image output, all of them (div classes) are named "header...something" I scanned the entire js_members module folders, and there are no divs with those classes. I finally found the "head..." classes in the gk_style template files for the jomsocial(community) So HOW is this happening? Better yet, I need to fix the links for the avatars.
Joomla 1.5.18 Jomsocial 1.2.290