I needed a smarter Sueetie placeholder control to display a "Request Invite" link in place of the "Join" menu link for the new Invitation Only Registration Option. In the past we used Sueetie UserRolePlaceHolder Controls to display or hide links based on user authentication. To display a link based on one of the site’s five RegistrationType settings we needed more than the UserRolePlaceHolder Control’s True and False Content Template options.
Registration Placeholder Control
Here is the RegistrationPlaceHolder control HTML in action. The three display options are Closed, Register, and InviteOnly. Closed and InviteOnly are self-explanatory. "Register" covers all other registration options: Automatic, Email Verification and Administrative Approval.
Login Placeholder Control
After creating a RegistrationPlaceHolder Control to support all of the Site’s RegistrationType Setting properties I created a LoginPlaceHolder Control. The main objective of the Login Placeholder is to provide an option to display or hide the "Login" link when registration is closed.