Active
Project:
Omega
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 17:02 UTC
Updated:
24 Oct 2012 at 07:19 UTC
Maybe I'm missing a new theming convention, but omega output its own custom id attribute for node wrapper which is not the same as core. I found that issue the hard way (thanks git bisect!) when upgrading my templates from an old version of omega.
core outputs: <div id="node-1" ...
omega outputs: <div id="node-article-1" ...
In other words, omega adds the node type in the node id attribute. I don't find it very useful since 'node-nid' is unique anyways, so adding the type is not necessary to ensure uniqueness. the node type is available in the class attribute if necessary. why this new convention?
Comments
Comment #1
moloc commentedI'm also wondering, why Omega adds the type into the id attribute. This currently breaks our drag&drop functionality at media_gallery.
Comment #1.0
moloc commentedminor wording fix