Closed (outdated)
Project:
Nice Menus
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2011 at 19:37 UTC
Updated:
2 May 2024 at 08:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jcarlson34 commentedLooks like this might be an easy fix.
All this patch does is change line 254's
if ($output['subject'] == t('Navigation') && $user->uid) {from 'Navigation' to 'navigation'.The field menu_name in the menu_custom table has the menus listed by lowercase.
Comment #2
jcarlson34 commentedShoot. Added a patch for HEAD. Here's a patch for 7.x-2.0-beta1 instead...
Comment #3
jlporter commentedAlso have the same notice. Please roll into new beta?
Comment #4
add1sun commentedCommitted to HEAD. Thanks!
Comment #5
jcarlson34 commentedCool my first ever patch was committed. Woot! :)
Comment #7
as2 commentedAs I have translations on my page, this does not work
if (($output['subject'] == t('Navigation')) && $user->uid)this is fine tough
if (($output['subject'] == 'Navigation') && $user->uid)Comment #8
Michael.Kling commentedHad this issue with Nice Menus 7.x-2.0 and German translation active
I could solve it with a merge of as2's solution:
Changing
if ($output['subject'] == t('navigation') && $user->uid) {
to
if ($output['subject'] == 'navigation' && $user->uid) {
Comment #9
astonvictor commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks