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.
The $attributes in the html.tpl.php in my installation seem to be printing incorrect values.
Example:
In the above, the node type is actually a page and not a portfolio (another content type I have). It seems to output 'node-type-portfolio' no matter what node one is at.
Note I am using an omega-html5 (7.x-3.0) subtheme, the Context and Delta modules.
Any ideas appreciated.
Thanks,
Rick
Comments
Comment #1
Rick Hood CreditAttribution: Rick Hood commentedSomething got stripped out above - the body class I was referring to that $attributes prints:
class="html front logged-in page-node page-node- page-node-217 node-type-portfolio toolbar toolbar-drawer lightbox-processed omega-mediaqueries-processed alpha-debug-processed responsive-layout-normal"