User profile customization

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.

This forum is for discussing mojoPortal development

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.

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.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/8/2011 11:02:09 AM
Gravatar
Total Posts 38

User profile customization

I need to customize the user profile page display.  If I have to build a usercontrol I will but my only requirement is to add some custom fields and control their layout.  I need to control the presentation of the page with css.  The only thing I can't figure out how to do is to float a checkbox on the same line with the custom textbox controls.  It appears that the mojo code will insert each custom control within the div "settingrow" which will break.  It appears that there is no way around this as the markup [ <div class="settingrow"><input ... /></div> ] is created by the code and added to the panel "pnlProfileProperties".

So, questions about building a webusercontrol.

1.  How do I pass the current user identity to the usercontrol.ascx?

2.  What does this post from Joe mean?

"What I would do is implement one custom usercontrol.ascx that implements ISettingControl, the implementation would just be a fake it could have a hard coded value in the get method and the set method doesn't have to do anything, but by implementing this you can add the usercontrol to the profile."

Does this require creating a build of mojoPortal from the source?  I don't want to do that. 
How do you implement ISettingControl, and once you do, how do you add the usercontrol to the profile?

3.  What does Joe mean by "Then in the usercontrol you should link to a custom page(s) where you implement your own functionality for all this other information and you can then group it however you like."

By "link to a custom page" do you mean add a hyperlink?  Or is their some way to embed the content of custom pages within the usercontrol?

You must sign in to post in the forums. This thread is closed to new posts.