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.

Image for Groups module

7 years 8 months ago
  • Dean's Avatar
    Topic Author
  • Dean
  • Offline
  • Fresh Boarder
  • Posts: 57
  • Thank you received: 2
Licenses:
JomSocial Active

Hi

I am using the Groups module (JS Groups).
I was wondering if it was possible to display the cover photo and not the profile photo in the module?

Cheers

Dean

7 years 8 months ago
Licenses:

Hi,

that group cover not designed for that. the image will looks ugly if you do that.
here the steps:
1) copy
/modules/mod_community_groups/tmpl/default.php
to
/templates/your site template/html/mod_community_groups/tmpl/default.php

2) at line 31
change the code from

<img src="<?php echo $table->getThumbAvatar(); ?>" alt="<?php echo CStringHelper::escape($group->name); ?>" >
to
<img src="<?php echo $table->getCover(); ?>" alt="<?php echo CStringHelper::escape($group->name); ?>" >

Regards

The following user(s) said Thank You: Dean
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