This seems to be sort of the opposite problem of #1566112: ctools_entity_field_extra_content_type always assumes extra fields are only available from hooks, I'm not 100% sure I follow that issue.

I have an extra field that inspects the body field for a specific tag and changes its output based on that. Right now, the body field isn't provided.

CommentFileSizeAuthor
#1 ctools-1907800-1.patch972 bytestim.plunkett

Comments

tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new972 bytes

This is essentially copied from ctools_node_content_render_node()

kclarkson’s picture

Tim,

Would this patch fix otice: Undefined index: label in ctools_entity_field_extra_content_type_content_types() (line 39/sites-dev/coded/sites/all/modules/contrib/ctools/plugins/content_types/entity_context/entity_field_extra.inc).

I have been searching for a while and can't find the solution.

Thanks again,
KC

jody lynn’s picture

andypost’s picture

The approach in #1947680: Extra field renderer is completely broken is better because allows to execute d7-way code making taxonomy work fine so better close this one as duplicate

Status: Needs review » Needs work

The last submitted patch, 1: ctools-1907800-1.patch, failed testing.

mrjmd’s picture

Issue summary: View changes
Status: Needs work » Needs review

It looks like this is no longer relevant, since #1947680: Extra field renderer is completely broken is fixed.

damienmckenna’s picture

Status: Needs review » Closed (duplicate)

I concur, #1947680: Extra field renderer is completely broken should cover it and anything else can be handled as a new issue.