HI Guys,

I dont know its a bug or not.
But i dont see the user name on the Nice Menu Block.
I mean if no user logs in we "Navigation"
but if the user logins in we Would see "Login Name" instead of "Navigation" rite.

But dont see this effect. it always remains on Navigation.

Please let me know can this be fixed

thanks
naren

Comments

jakeg’s picture

Status: Active » Closed (works as designed)

Please see the readme file with the latest version of the module. It includes various css tips and tricks. One of which shows the username/title:

.block-nice_menus h2 {
    display: block;
  }

... add this to your theme's CSS file.

Note that its not shown by default so that drop-down menus work properly without a title above them.

r_naren22’s picture

Title: No UserName on NiceMenu Block » didn't work out

As u said i added this code in my theme's style.css

.block-nice_menus h2 {
display: block;
}

and i also changed in the nice_menus.css file before it was
display: none;
changed it display: block;

still no luck

Thanks
Naren

dschuetz’s picture

Title: didn't work out » no user name on the Nice Menu Block
Version: 4.6.x-1.x-dev » 6.x-1.0
Component: User interface » Code
Status: Closed (works as designed) » Active

I may have found a newer problem with this. At least using the Garland theme, the module defaults to "navigation" as the title when no title is defined (that is, it's left blank, not the "none" setting). I'd rather it display the logged-in user name.

I found in the "case 'view'" section of the code, a test for $output['subject'] being equal to 'Navigation'. This fails because the default subject is 'navigation' (all lowercase). I changed the test to match what was actually being seen, and now the menu title reverts to the logged-in userid.

Not sure if this is a bug or if I've just done something stupid somewhere along the way -- can anyone confirm?

add1sun’s picture

Status: Active » Closed (fixed)

This was already raised and fixed here: http://drupal.org/node/228323

dschuetz’s picture

Ah, good. Sorry that I missed that -- I was sort of poking around late at night trying to make heads or tails of things and ran across that issue.

At least I was only a week behind the curve. :)