Dave Burke : Freelance .NET Web Developer specializing in Online Communities

New Sueetie Login and Register Placeholder Controls

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.

Image

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.

Image

Comments (0) | Post RSS RSS comment feed

Posted on 8/4/2011 12:22:35 PM by Dave Burke
Categories: Sueetie
Tags:

Related posts


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke