Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Display User Name in custom ajax masthead

$
0
0

Dear all

I am currently modifying the standard ajax masthead to display the user name in line with the logo on the masthead itself, and plan to hide the menu bar

 

e.g. Image 2.jpg

 

 

For the User Name, I modified the Masthead.jsp

 

<%if (mastHeadBean.isShowLoggedAsMessage()) {%>  <td>                 <div class="userWelcome_container" id="welcome_message_container">                               <% if (mastHeadBean.isPreview()) { %>         <%= (mastHeadBean.getWelcomeMsgTitle()) %>              <% } %>    </div>             </td>            <%}%>

But it does not display correctly and the last name.  If  you see below image, the user name is coming in a span which I do not want.

Image 3.jpg

I would like to display user, then help, then log off

 

Any help is appreciated.

 

Thanks

Sandip


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>