Active
Project:
Panels 960gs (HTML5)
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2011 at 17:00 UTC
Updated:
1 Dec 2011 at 23:03 UTC
I'm not sure if this was done intentionally, so I added as a feature request. There seems to be an unofficial standard for using '-' instead of '_' in class names.
Views 3 doesn't allow the use of underscores for class names, so grid widths can't be added via the views interface. If it does allow you to input 'grid_4', I gets run through http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_cl... and the '_' is converted to '-'.
Comments
Comment #1
jwilson3Unfortunately this is a symptom of the 960.gs framework code itself, and therefore was intentional. I wouldn't be opposed to seeing this changed though, cause i dislike underscores in classnames too.
Sadly, the awesome browser extension I use looks for the existence of container_X, and doesn't recognize container-12 or container-16, so a change like this *would* break some compatibility with the 960.gs framework.