Hi,I found an issue with Event Booking when an event detail page is opened using tmpl=component.On the normal event detail page, the register buttons display correctly. But when the same event is opened with tmpl=component, the register button block disappears, even though the event is still open for registration.I investigated the event template and found that registration itself is still available. In the runtime data:
can_register = 1
register_buttons_position = 0
show_back_button = 1
But at the same time:
showTaskBar = 0
Because showTaskBar becomes 0, the component does not build or render the register button section at all. So the problem is not that the event cannot be registered for. The problem is that the toolbar/taskbar is being disabled in component mode.In my testing, once I forced the taskbar logic to still run for tmpl=component, the register buttons appeared correctly again.So it seems the root issue is that tmpl=component makes showTaskBar false somewhere upstream, which prevents:
the register buttons from being generated
the register button block from being shown
It would be great if this could be fixed in the core component, because tmpl=component is very useful for:
mobile app event detail screens
modal displays
embedded event detail views
simplified page layouts
In those cases, users should still be able to register if the event is open for registration.Could you please review this behavior and make sure register buttons can still render in tmpl=component mode when registration is available?Thanks.