I've got the Entity Reference model set up and working great. But I have a few questions that I can't figure out. Not sure if this is possible, or if there is something else I need to make it possible.

I have "City" nodes and "Restaurant" nodes, and I've connected them fine. But I realized that the same restaurant may attach to more than one city. So I was trying to implement "Restaurant Location" nodes, so there is a many-to-many relationship there. Is this possible with Entity Reference? If so, can I also embed the "Restaurant Location" form into the "Restaurant" form? And if this all works, then I need to figure out how to display all the appropriate restaurants on the city page.

I've been working on this for hours, and can't get it working. Anyone with some ideas for me to try? Thanks.

Comments

You can attach the same

You can attach the same restaurant (node) to multiple cities with node reference. You are not limited to referencing a restaurant (node) a single time.

Jaypan We build websites

Right

Yes, that's true, but I want to assign a different address and phone number each time. So the reference needs to have additional information.

nobody click here