Hide default profile items

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/2/2014 4:02:50 PM
Gravatar
Total Posts 123
/Mats Lillnor

Hide default profile items

Hi all! Another question about custom user profile,

I have customized the user profile page as descripbed here
http://www.mojoportal.com/userprofileconfiguration.aspx

I have not included Time Zone in my customProfile.config but still there is a timezone item.

All my users are local, so there is no need to have Time Zone, or at least not to show it. It is ok to set it as a default value, but I do not want it to show. I also would like to hide the Created date and time for the user account since this is not relevant.

Is there a way to hide those Items?

I have tried ti include the "TimeOffsetHours" property and remove the line
        labelResourceKey="TimeOffsetLabel"

but that does not help either.

Is it possible to hide those default properties of the user profile?

 

BR

/Mats

 

2/3/2014 2:05:25 PM
Gravatar
Total Posts 18444

Re: Hide default profile items

Hi Mats,

It is not possible in the current release but I will add specific css classes to the container divs so after the next release you could hide them with css like this:

.timezone, .usercreated {display:none; }

Hope that helps,

Joe

2/4/2014 12:12:47 PM
Gravatar
Total Posts 123
/Mats Lillnor

Re: Hide default profile items

That absolutely helps. Thanks a lot!

I cannot enough express how great I think mojoPortal is.

It has really grown into a super-robust, high performance cms application with an astounding feature set that is a pleasure to work with and really is easy to manage despite the complexity, but above that there are gazzillions of small useful tweaks like this that are difficult to find in the documentation. I guess it is impossible to create a comprehensive documentation of all the details without that affecting the evolution pace.

Luckily everything is in your head and we can rely on you answering all questions in the forums and if a requested feature would be missing, you simply add it... :-)

BR
/Mats

8/13/2014 5:20:01 AM
Gravatar
Total Posts 503
feet planted firmly on the ground

Re: Hide default profile items

Hi Joe

Any chance you could do the same for the other default properties: forum posts and display name. The current mark-up is as follows, meaning I can hide the first one using its ID, but I cannot hide the second:
<div id="ctl00_mainContent_divForumPosts" class="settingrow"> <label class="settinglabel">Total Posts</label> &nbsp;<span id="ctl00_mainContent_lblTotalPosts">0</span> </div>

<div class="settingrow"> <label class="settinglabel">Display Name</label> &nbsp;<span id="ctl00_mainContent_lblUserName">xxxxx</span> </div>

Another minor point about the profile page:  the default properties render a space in front of the value, whereas the firstname and lastname and custom properties do not, so the values do not align on the page.
 

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