Closed (fixed)
Project:
Clean
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2010 at 22:24 UTC
Updated:
6 May 2010 at 17:30 UTC
as above: a fieldset in a custom node-mytype.tpl is not themed by fieldset.tpl.
phrased differently, i like how clean themes fieldsets, but if i create a fieldset (not within a form) in a node.tpl, the fieldset works, but it is not styled by clean's fieldset.tpl.
what could i be missing?
Comments
Comment #1
psynaptic commentedDid you use hardcoded
<fieldset>...</fieldset>markup?Comment #2
docwilmot commentedyes. there's another way?
Comment #3
psynaptic commentedYep, there is the Drupal Way.
Quick answer:
Where possible, use proper theme functions to output HTML:
http://drupalcontrib.org/api/function/theme_fieldset/6