Jump to content

A closed club without the join button


Recommended Posts

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

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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