Good evening Frank and welcome to the Events Calendar Support forum!
Thank you for reaching out to us.
I would love to help you with this topic.
Just to set expectations, as you might know, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues.
We unfortunately do not provide complete support for customization.
With that in mind, it sounds like you are trying to reproduce a very simplified version of what the code does when the yoursite.com/event/event-name/all/ is triggered.
If you have not already, you might want to read our Themer’s guide to get a sense of how our display layers work.
So my recommendation would be to borrow loosely from that code.
Let me know how that goes.
Best regards,
Geoff B.