Nico, how were you able to get it working? I tried adding this:
function ShowForm(){
$get = DataObject::get_one('SubscribeForm', "URLSegment = 'subscribe'");
return new SubscribeForm_Controller($get);
}
to my Home.php and the
<% control ShowForm %>
$Form
<% end_control %>
to my Home.ss but I keep getting this error:
[User Error] Uncaught Exception: Object->__call(): the method 'fields' does not exist on 'SubscribeForm_Controller'
Any help would be awesome!
~ Valor