Closed (fixed)
Project:
HTML5 Base
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2011 at 13:42 UTC
Updated:
23 Jul 2011 at 19:21 UTC
H/T @JohnAlbin on irc. core's field.tpl.php is not used by core! It's provided as an example to base theming on.
See: http://api.drupal.org/api/drupal/modules--field--field.module/function/t...
Bringing it into HTML5_base means it actually gets used, and introduces several wrapper divs around each field, including on with zebra class that is always 'even' for single value fields (so, most of them).
I can't think of any new HTML5 semantic elements that would apply at the field level, so I suggest this tpl file is simply removed.
If you have other idea's please let me know and I'll create a patch.
File to remove:
html5_base/templates/field.tpl.php
Comments
Comment #1
adrinux commentedThough of course the field.tpl is just what theme_field() is doing...I think the horror of the markup was too much for me.
Changing the title, though it would be better to alter the markup in template.php, but it needs clean up not removal.
Comment #2
jensimmons commented