Closed (outdated)
Project:
Field collection
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2012 at 23:17 UTC
Updated:
14 Nov 2016 at 20:00 UTC
Jump to comment: Most recent
Comments
Comment #1
RobW commentedThe operation links (add, edit, delete) are currently added in the
#suffixof the field collection field and field collection item render arrays. This basically means that if you're not using the field templates for the field collection field and field collection items, you won't get the operation links. I haven't usedentity_metadata_wrappers enough to be able to tell you exactly how they work, but checking if they output the field.tpl and field-collection-item.tpl, and checkingdpm($contenu);for the#suffixkey is where I would start.You can also take a look at the patch in #1157794: Move markup to template files and improve theming in new 2.x branch -- with it you should be able to replicate what you're doing here with normal tpls and no
entity_metadata_wrapper.Comment #2
kiero63 commentedThanks for this quick answer. I have take a look about your patch and it seems to be the perfect solution for doing what i need. But for various reason i can't apply patch, is there a way to have the already patched file ?
Comment #3
jmuzz commented