Closed (fixed)
Project:
Nice Menus
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2009 at 04:54 UTC
Updated:
22 Apr 2010 at 21:07 UTC
An id attribute of a div element cannot have parentheses in it.
Line 124 of nice_menus.module needs to change from
$blocks[$i]['info'] = variable_get('nice_menus_name_'. $i, 'Nice Menu '. $i) .' (Nice Menu)';
to
$blocks[$i]['info'] = variable_get('nice_menus_name_'. $i, 'Nice Menu '. $i);
Having parentheses in the id attribute effectively disables the usage of this id in css. This is an illegal selector in css:
#block-nice-menus-main-menu-(nice-menu)
Comments
Comment #1
add1sun commentedThat line is just giving the display text for the block name in the list of blocks in the block admin screen (admin > build > blocks). Where is this being used as an actual ID in the CSS?
Comment #2
add1sun commentedNo response - closing.