changing top menu appearance

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/15/2011 12:57:18 AM
Gravatar
Total Posts 53

changing top menu appearance

Hi again,

Need to update the top menu appearance (especially after sign in).

Currently after signing in, it appears like this:

Signed in as: Administrator Home Site Map My Account Member List Search Sign Out

I want to update it to:

Home Site Map My Account Member List Search                                        Administrator (Sign Out)

Is that possible?

Thanks in advance!

2/15/2011 4:11:53 AM
Gravatar
Total Posts 108
Community Expert

Re: changing top menu appearance

in your layout.master look for topnav class, you find there the menu and can remove what you want. This are the controls that you have to find

<portal:WelcomeMessage

<portal:HomeLink
<portal:SiteMapLink
<portal:MyPageLink
<portal:UserProfileink
<portal:MailboxLink
<portal:MemberListLink
<portal:SearchInput
<portal:RegisterLink
<portal:LoginLink
<portal:LogoutLink

2/16/2011 3:29:24 AM
Gravatar
Total Posts 53

Re: changing top menu appearance

Sounds good. Thank you :)

2/17/2011 3:52:46 AM
Gravatar
Total Posts 53

Re: changing top menu appearance

Commenting "<portal:WelcomeMessage" part also doesnt show the user name when signed in. Please help me to keep only username and removing "Signed in as"

 

thanks

2/18/2011 12:10:17 PM
Gravatar
Total Posts 18439

Re: changing top menu appearance

In the next release of mojoPortal there will be a solution for you.

Right now that comes from a Resource file so it is localizable but not customizable. The resource setting is a format string like:

Signed In as: {0}

In the next version of mojoPortal you will be able to override it in layout.master by setting s property on <portal:WelcomeMessage like this:

OverrideFormat="My name is {0}", or if you only want the user name then you could put OverrideFormat="{0}"

The {0} is replaced by the user name.

Hope it helps,

Joe

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