Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Manuel Molina Posted February 19, 2022 Posted February 19, 2022 I need some clubs to be seen by community members but without their ability to see content or to request to join. That would be an "closed" club, and you have to be invited to join. Is there a way to remove the "Join club" button? Help appreciated!
Randy Calvert Posted February 19, 2022 Posted February 19, 2022 There is no toggle in the ACP to show/hide the Join button. With that being said, you can certainly do this by editing your theme. In the theme HTML settings, filter the templates by the word "clubs". You should see: core > front > clubs. There are a few different templates specifically you might need to look at (maybe more)... I would start with "header", "clubCard", and "nonMemberClubStatus". Search for "Join" and you should see the HTML references there. An example from one template to give you an idea of what to look for: {{if $club->canJoin()}} <hr class='ipsHr ipsHr_small'> <a class="ipsButton ipsButton_small ipsButton_primary ipsButton_fullWidth" href="{$club->url()->setQueryString('do', 'join')->csrf()}" {{if $club->isPaid() and $memberStatus !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>{lang="club_join"}</a> {{endif}}
Manuel Molina Posted February 19, 2022 Author Posted February 19, 2022 Just gave it a shot, found only two templates under core>front>clubs, it was coverphotoOverlay and header. Did my best but that was too technical form me 😞 Thank you for your feedback anyways, I appreciate it.
Marc Posted February 21, 2022 Posted February 21, 2022 I will move this over to community support as this would indeed require customisation to achieve
Recommended Posts