Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Change information shown on "All Members" page

10 years 11 months ago
  • Bill's Avatar
    Topic Author
  • Bill
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

I am setting up a site for a business association. I would like to use the "Show all members" page, but I don't want the # of friends, or the "Add as Friend" to show up, just s listing of all of the member companies. Ideally, I would like to display more of the contact information there instead.

Thanks for the help!

10 years 11 months ago
Licenses:

Hi Bill,

you can do it by using template override:
documentation.jomsocial.com/wiki/Customizing_Template

/components/com_community/templates/default/people.browse.php

for # of friends you can take out lines 202 - 205:

<div>
						<i class="com-icon-groups"></i>
						<span><?php echo JText::sprintf( (CStringHelper::isPlural($row->friendsCount)) ? 'COM_COMMUNITY_FRIENDS_COUNT_MANY' : 'COM_COMMUNITY_FRIENDS_COUNT', $row->friendsCount);?></span>
					</div>

and add as friend lines 218 - 219:
<i class="com-icon-user-plus"></i>
									<a href="javascript:void(0)" onclick="joms.friends.connect('<?php echo $row->user->id;?>')"><span><?php echo JText::_('COM_COMMUNITY_PROFILE_ADD_AS_FRIEND'); ?></span></a>

but the changes not only at "Show all members" page. but at search result also.

Regards,
Albert

10 years 11 months ago
Licenses:

Hi Bill,

We have not received any response back from you in over 7 days, and would like to know if you consider this issue to be resolved. If you have any further questions, simply reply to this post.

Regards,
Albert

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW