When I add a location element to a CCK node, the header for that section looks different from the headers for the other sections. In theme_locations, it is hardcoded as <h3>, while the CCK node uses a <div> with a style of field-label. I have fixed the appearance in my version by changing the HTML output by theme_location to something like:

<div class="field"><div class="field-label">
Location <!-- or Locations -->
</div>
<!-- location data -->
</div>

That works fine in the CCK view, but it might not look right in other contexts.

Is there a better way to handle this?

Thanks!

Comments

yesct’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Location theming

Could someone check the latest version, and re-roll a patch against the latest version?

When posting the patch, just change the status to needs review. I'll set the status to postponed, needs more info, for now, until someone has the time to check the latest version and create the patch.

Also, I'll tag this for theming.

scottgifford’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Looking back at this bug, I think I just need to override the output function properly in my theme. I'll try that and re-open if I still have trouble.

yesct’s picture

If that works for you, can you post back how you got it to work here?