Closed (duplicate)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2012 at 15:15 UTC
Updated:
22 Jun 2012 at 17:15 UTC
I was reading this article by one of the BEANS contributors, View Modes: Add 'Extra Fields' to Your Content, and trying to adapt this practice to BEANS and entities.
My goal is to have my BEAN titles be accessible to View Modes, so I can order them, show them, hide them, etc., like all the other entity fields.
That article shows how to do it for Nodes, but it doesn't work for entities. I hoped someone here has already done this and can help. I understand that it's hook_entity_view instead of hook_node_view, but that's as far as I can take it.
Comments
Comment #1
indytechcook commentedThis is a duplicate of #1534722: Make custom bean compatible with Display Suite
Thanks for the link to the article also.
Comment #2
minneapolisdan commentedIndytechcook, thanks for the quick reply. I'm still in the dark, but trying. I followed that link you posted, and then followed that to another article from the Renderable Elements module. So I would need that module, plus Display Suite, to get this done?
Appreciate any help anyone can give here.
Comment #3
minneapolisdan commentedNot sure how it's a duplicate? But for those looking, there is a solution (or start of a solution) on that other post mentioned above.
Comment #3.0
minneapolisdan commentedcorrecting article title