Closed (fixed)
Project:
Lessons
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2012 at 16:52 UTC
Updated:
24 Nov 2012 at 20:20 UTC
The sections of a lesson (e.g. prerequisites, steps, etc.) are currently getting printed out as divs, when they really should be header tags IMO. At the very least they need to styled so that they stand out more than the HTML H tags that can be used in the body.
The lesson title is an H1 tag, so ideally the section headers would be H2 tags. That would allow us to use H3 tags for headers within the sections that are delineated by fields.
Comments
Comment #1
BrockBoland commentedThis is a regular field label, so we need to override
theme_field()to fix it.Comment #2
BrockBoland commentedHacked this into hook_node_view: http://drupalcode.org/project/lessons.git/commit/b0e19df