I have two entites: "Ship company" and "Ship"
Ship company attributes:
- Title
- Description
Ship attributes:
- Title
- Description
- Image
- Entity reference to "Ship company"
Now I need to display a list of all ship companies on one page. I want to display each row in specific format containing these fields:
- Ship company title
- Ship description
- Display ships related to company. I need to display up to 6 ships. If there will be more than 6 related ships, I need to display max 6 ships and link to company detail.
I've started to create the view which render "Title" and "Description" fields for each "Ship company". But I still don't know how can I display related ships for each row in my view output? Is there any easy clue how to solve it? Define my own PHP field?
Thanks a lot
Martin