Detecting MyPage setting

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.
2/25/2009 1:38:00 AM
Gravatar
Total Posts 21

Detecting MyPage setting

Is there a way to detect the logged in user has the MyPage setup?

2/25/2009 5:11:18 AM
Gravatar
Total Posts 18439

Re: Detecting MyPage setting

Hi,

Typically the site admin will create some default content on My Page using shared scope. There is an old video tutorial here that explains about user scope and shared scope:

http://www.mojoportal.com/flashtutorials/mojo-personalization-demo.htm

So typically My Page is setup in advance with default content and the user is allowed to re-arrange it and add/remove content and personal pages. 

I'm not sure if thats what you mean about "has MyPage setup" and when you say "detect" it raises the question "detect from where?"

Hope it helps,

Joe

2/25/2009 1:29:29 PM
Gravatar
Total Posts 21

Re: Detecting MyPage setting

Thanks for the reply. What I'm looking for is listed in the following:

1. When user signed in and he/she has already setup the MyPage on his or her own. MyPage is the first page he or she will see.

2. If the user never has MyPage setup on his/her own (meaning BLANK page), the default home page is the what he or she will see after signed in.

Thanks again...

2/25/2009 3:18:27 PM
Gravatar
Total Posts 118

Re: Detecting MyPage setting

Thats quite a nice idea - except I would add a tick box on the ' my page ' so the user can make it their default page when they visit the site.

neil

2/26/2009 9:55:43 AM
Gravatar
Total Posts 18439

Re: Detecting MyPage setting

 This could be implemented as a UserSignInHandler, to find out if the user has personalized MyPage you could get a count of rows from mp_SitePersonalizationPerUser matching the UserID in that table with the UserGuid of the user. If the count is greater than 0 then the user has personalized. Unfortunately there is not an existing method to get this count.

Hope it helps,

Joe

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