Extending the User Profile page

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.
7/27/2010 8:26:09 AM
Gravatar
Total Posts 34

Extending the User Profile page

Hi,

I have read the docs and other helpful posts on extending the user profile.  I am going to need lots of drop downs and check boxes that will have one to many relationships in tables, I have followed the forum help and successfully create 3 custom controls for drop downs, multi-check box and radio button.  I saw that the interface makes them have a getValue / setValue property and i have designed them to use this to get input.  This is basically so that I can just have one control and change the input so it has the correct items and database write back.

Now I have tested, I "think" these appear to be the module Id or something I can't control?

Is there a way I can pass them a value from some db or mojoProfile.config or am i going to have to take multiple copies of the same code and hard code a value in each?  Please tell me not :-)

Many Thanks as always

Matt

 

7/27/2010 8:51:05 AM
Gravatar
Total Posts 34

Re: Extending the User Profile page

Hi,

i'm not sure why whenever I finally ask for help i go back and check again and it appears to work...

It would seem it is saving it as the default value for that entry in the database, which, being as mine are custom, as long as I hide that entry from view i can happily use that?

I guess that rules out being able to show my custom drop down when other people see it?  As in the directory, it just shows what ever the default value is? 

Which I guess is fine to write back one selection, but in many cases they may be picking multiple selections and this would also ruin me being able to use this field to store a parameter.   Please let me know if there is a different way for saving settings for profile user controls however.

Thanks.

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