When using its "expert" field template includes a "prefix" and "suffix" config setting to be rendered before and after the field, respectively. We should add support for those to Gesso. (Or, if we don't want to support them for some reason, we should hide them from the DS settings. Marking this issue as a "bug" since you can currently set these values, but they have no effect.)

Comments

arh1 created an issue. See original summary.

arh1’s picture

StatusFileSize
new797 bytes

Attached is a quick patch that renders the prefix and suffix for the expert field template.

One thing that seems odd to me, though -- seeing how this is implemented in theme_ds_field_expert in DS -- is that the prefix would be included inside the field's outer wrapper, and the suffix outside of it. It seems they should both be either inside or outside -- wonder what the thinking is w/in DS?

arh1’s picture

Status: Active » Needs review

  • dcmouyard committed 488e72e on 7.x-1.x authored by arh1
    Issue #2551623 by arh1: Added support for prefix and suffix in Display...
dcmouyard’s picture

Status: Needs review » Fixed
StatusFileSize
new854 bytes

I moved the suffix code so that it’s rendered inside the field wrapper.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.