By Ignacio on Sunday, 21 September 2014
Replies 3
Likes 0
Views 788
Votes 0
Hello,

Ii it posible to show the popbox over the profile pictures in the advanced search?

Thank you!
Hello,

Currently we do not display the popbox on search results for users but it's easily achieve-able by modifying the theme files. You can do so by editing the file /Users/components/com_easysocial/themes/wireframe/advancedsearch/user/default.results.item.php and locate the codes below at line 21,


<a class="es-avatar pull-left mr-10" href="<?php echo $user->getPermalink();?>">
<img src="<?php echo $user->getAvatar();?>" title="<?php echo FD::get( 'String' )->escape( $user->getName() ); ?>" />
</a>


Replace the codes above with,


<a class="es-avatar pull-left mr-10" href="<?php echo $user->getPermalink();?>" data-popbox="module://easysocial/profile/popbox" data-popbox-position="top-left" data-user-id="<?php echo $user->id;?>">
<img src="<?php echo $user->getAvatar();?>" title="<?php echo FD::get( 'String' )->escape( $user->getName() ); ?>" />
</a>
·
Sunday, 21 September 2014 14:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much!

Excellent support!
·
Saturday, 27 September 2014 01:11
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Saturday, 27 September 2014 02:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post