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.

JS Members: Portrait instead of displaying subtitles

8 years 5 months ago
Licenses:
JomSocial Active

We wish you a user name instead of the avatar will be displayed in the module. How can this be done easily?

8 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Kerti,

Do you want to remove the image avatar on the list and showing only the name? or ?? please provide me the screenshoot so I can understand it better.

thank you!

8 years 5 months ago
Licenses:
JomSocial Active

Yes, I would like to keep the avatar to appear, but the user is subscribed.

Attachment jsmembers.JPG not found

Attachments:
8 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Kerti,

You should modify or override this module template /modules/mod_community_members/tmpl/default.php, to show the member name you can use this code after line 28 :

<?php echo CStringHelper::escape($member->getDisplayName()) ?>

8 years 5 months ago
Licenses:
JomSocial Active

Thank you very much!
Now it would be so much problem with that usernames meet.
What should be done so as not to overlap down?

Attachment jelenlevok.JPG not found

Attachments:
8 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Give break line code there "<br/>"

8 years 5 months ago
Licenses:
JomSocial Active

Not good at breaking, because then when many users are present, the box will be too high. I want to write out the names behind each other.

8 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

change the code to be like this, you should remove the avatar styled

<li class="joms-list__item">
<?php echo CStringHelper::escape($member->getDisplayName()) ?>, 
                    </li>

8 years 5 months ago
Licenses:
JomSocial Active

So not good, not good because it shows the names.
I deleted the <li class="joms-list__item"> and so are well displayed.
Thanks for your help.

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