This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Here is the problem statement:
I need to create two pages for registration:
1. Same page for team and team captain registration
2. Team member registration.
Second point I have implemented and it is working fine. I created a new .aspx page, copy pasted the functionality of existing register.aspx page and added my custom code.
Problem is with second point, I cannot create a .aspx page since as per my understanding I need to create and register a user control to show it on a page. So for that I created an user control with registration functionality but problem is even if user is logged in sign in link is not hiding and "Sign out " link is not displayed. I tried so many times but not working.
So if it is possible to show .aspx page in menu then I can create a copy of the page that I implemented in point 1 and then add my additional custom code.
Take a look at the existing code for the Sign In Module and the LoginLink WebControl. Basically during OnLoad you just need to check if the request is authenticated, and if so, render the sign out link and hide sign in.
Thanks it is resolved