Hi,
I want to write a widget, which I can set different includes into my Sidebar. The php file of the widget works without any errors, but SilverStripe doesn't interpet <% include .... %>. I know, why this doesn't work. Maybe is there a chance to have access the global variable like CurrentMember in my control command.
<% control IncludeIn %>
<% include $Include %>
<% end_control %>
Best regards,
Pascal