Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
jakeg CreditAttribution: jakeg commentedPlease 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:
... 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.
Comment #2
r_naren22 CreditAttribution: r_naren22 commentedAs 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
Comment #3
dschuetz CreditAttribution: dschuetz commentedI 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?
Comment #4
add1sun CreditAttribution: add1sun commentedThis was already raised and fixed here: http://drupal.org/node/228323
Comment #5
dschuetz CreditAttribution: dschuetz commentedAh, 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. :)