Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Online user module and a template module allocation issue

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

do you mean show total members? that configuration only to show/hide the total members, not hide the link view all members

Attachments:
9 years 8 months ago
  • Zurkster's Avatar
    Topic Author
  • Zurkster
  • Visitor
  • Thank you received: 0
Licenses:

I see that the switch simply removes the total users count, my problem is that if I remove the code that displays the link manually, I lose that functionality in ALL instances of the module,, The option to NOT display the 'View All members' link should be switchable, not permanently removed from EVERY instance. The Link is not required in the online users module, but must still be enabled on the top and most active user instances. If I'm not mistaken, removing the code suggested would indeed disable the link globally?

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

I see, so please you revert my hack on last reply and change with this code :

<?php if($params->get('show_total_members')):?>
<a href="<?php echo CRoute::_('index.php?option=com_community&view=search&task=browse' ); ?>" class="joms-button--link">
    <small>
        <?php echo JText::_( 'MOD_COMMUNITY_MEMBERS_VIEW_ALL' ).$totalMembers; ?>
    </small>
</a>
<?php endif?>

9 years 8 months ago
  • Zurkster's Avatar
    Topic Author
  • Zurkster
  • Visitor
  • Thank you received: 0
Licenses:

Thanks again for your time Dimas, The above suggestion seems to have removed the link from the module. I'll give it a full check over today to see if all other modules behave as expected. I'm sure they will be okay though. Your efforts are very much appreciated.

9 years 6 months ago
  • Zurkster's Avatar
    Topic Author
  • Zurkster
  • Visitor
  • Thank you received: 0
Licenses:

Just to let you know, that when I updated the core to 4.2.6 the aforementioned fix was overwritten, however I've applied it again from these messages and all is well. Thanks again Dimas.

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