I'm controlling my node's display with panels. I have a field called "Sub Title" that I would like to wrap in an h2 tag.

This module (http://drupal.org/project/semantic_fields) does exactly that and more! However, I can only get the Field Formater to display using the field API UI (screenshot).

Shouldn't this field be able to be set when adding the field through the panels interface? Here is the first screen when adding a field (step 1) the second is just blank (step 2). It looks like something is going wrong, since step 2 is completely blank.

Comments

merlinofchaos’s picture

Project: Panels » Semantic Fields
Version: 7.x-3.x-dev » 7.x-1.x-dev
Category: bug » feature

My guess is that semantic fields uses a form alter and that isn't going to be able to catch the CTools forms without modification.

This isn't a bug, this is two modules interacting without having any knowledge of each other. Unfortunately you can't just expect that these things will work, particularly when a module is using magic for stuff.

I'll mark this as a feature request against Semantic Fields, but I wouldn't expect too much.

bryancasler’s picture

Thanks Merlin,

Any suggestion about how to accomplish the desired output. I thought about using a custom field and then just wrapping the field token in the tags I want, but I wasn't sure if that was considered a "best practice".

merlinofchaos’s picture

At the moment you'll probably have to theme the field in the standard manner. :(

bryancasler’s picture

I just found the Drupal Fences module. It's not perfect, but it's good enough for the interim. Thanks again for your response Merlin.

MiSc’s picture

Status: Active » Closed (works as designed)

Old thread, but I think that Semantic Panels could really make the trick here.