I have content type A containing an entity reference to a node of content type B. I can include the rendered display of type B in my display of a type A node, all as designed. (Many thanks for all the hard work!)

My question is: can I access the individual fields of my type B in my type A display, so I can rearrange them (such as intermixing them with fields from the A node) rather than have them appear all in a single piece as the entire rendered entity? I've tried googling, looking at the code, etc., but I haven't come up with anything. Stuff like this is possible in views, but I don't have a view, just one node referencing another. Is this possible? Thanks!

Comments

Dean Clayton’s picture

you can't intermix them with just the entity reference module, you'd have to use something like display suite fields to reference those fields on content type b to allow you to position them amongst the content type a fields
At least thats the only way i can think of without using views.

If you don't need to intermix the fields, on the content type b, create a new display option (or reuse "teaser" if you are not using it elsewhere) set the fields you need on the manage display for content type B and then on content type a, use that display mode for the rendered entity option.

hope that helps