I installed silverstripe and installed the blog module. That was working great to start. I moved the blog module to my home page, and then decided to add a second blog holder. Once I added the second blog holder, I tried to add the blog management widget and got the error "Bad widget class name given". I tracked the error to Widget.php...
<pre>
class Widget_Controller extends Controller {
function editablesegment() {
$className = $this->urlParams['ID'];
if(class_exists($className) && is_subclass_of($className, 'Widget')) {
$obj = new $className();
return $obj->EditableSegment();
} else {
user_error("Bad widget class: $className", E_USER_WARNING);
return "Bad widget class name given";
}
}
}
</pre>
I don't understand how the class exists for the home page blog holder, but doesn't appear to exist for the 2nd blog holder that I created.
Any help or direction would be appreciated.