Jump to content

Recommended Posts

Posted

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!

Posted

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}}

 

Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...