1

Thinking how to achieve what I need, looking into possibilities. I have a content type that is used for all kind of locals: restaurants, clubs and so on. Now, what I want is to have a list of nearest 3 events that will take place in that specific place.

So far I was thinking about creating new type of nodes for events. Let's say: Event content. Seems logical, right? Now, using Entity Reference I should be able somehow to add relation between an event and club (not sure about this one yet). Next step would be displaying this added event on the node of that club. How could I achieve that? Creating a View and putting it into the node display somehow? Block?

Really could use some ideas for that.

0

You should create a view and add relationship using node reference(entity reference) and after adding relationship you should add fields corresponding to node for which relationship has been added.
Check the link on how to add relationship in views

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.