Timeline for Getting views contextual filter from url for display suite block
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 1, 2016 at 15:13 | vote | accept | Richard | ||
Apr 26, 2016 at 18:07 | comment | added | Stefanos Petrakis | Second attempt below :-) | |
Apr 26, 2016 at 16:14 | comment | added | Richard | @StefanosPetrakis. No worries. Really appreciate your help. Thank you. | |
Apr 26, 2016 at 16:12 | comment | added | Stefanos Petrakis | Nope, sorry, have to rewrite this, my answer is wrong. Ignore it for the time. | |
Apr 26, 2016 at 16:04 | comment | added | Stefanos Petrakis | Hey @Richard, thanks for the update, I don't think this changes sth, no. | |
Apr 26, 2016 at 16:02 | answer | added | Stefanos Petrakis | timeline score: 0 | |
Apr 26, 2016 at 15:58 | comment | added | Richard | @StefanosPetrakis. I should have added that the Event Content Type has two entity reference fields. One for the name-of-venue that is set using Rules when the Event Content Type is saved, and the other for name-of-performer that is set by the user (the venue) when entering the event details on the Event Content Type. Don't know if that's relevant? | |
Apr 26, 2016 at 15:49 | comment | added | Richard | @StefanosPetrakis. Correct! | |
Apr 26, 2016 at 15:46 | comment | added | Stefanos Petrakis | Okey! And you are using Entiry Reference for the linkage between Events and Venues, right? | |
Apr 26, 2016 at 15:43 | comment | added | Richard | @StefanosPetrakis. Correct! I think I've tried what you're suggesting, but obviously I must be doing something wrong. Any example would be very much appreciated. Many thanks for all your help. | |
Apr 26, 2016 at 15:40 | comment | added | Stefanos Petrakis | So, you want a view that will display events related to the current event. The relation being "same venue". I hope I got this right this time. If I did, then the next question would be, why you would need code for validation? You could grab the NID from the internal node path (node/%nid) and use that further in your view to get all related events. I could give you an example of that, if I am on the right track. Cheers again! | |
Apr 26, 2016 at 14:50 | comment | added | Richard | Apologies @StefanosPetrakis, I want to display the view block on the event content type that shows only the events for that venue. | |
Apr 25, 2016 at 17:25 | comment | added | Stefanos Petrakis | Do you want to display the View Block on the Event Content Type? Or on the Venue Content Type? I am a bit confused by the "...I wish to place a block on the event content type that shows only the events for that venue...". I would expect sth like "...I wish to place a block on the Venue content type that shows only the events for that venue...". Cheers! | |
Apr 25, 2016 at 15:10 | review | First posts | |||
Apr 25, 2016 at 15:12 | |||||
Apr 25, 2016 at 15:05 | history | asked | Richard | CC BY-SA 3.0 |