diff --git a/code/BlogEntry.php b/code/BlogEntry.php index 6e67cdf..14becec 100644 --- a/code/BlogEntry.php +++ b/code/BlogEntry.php @@ -8,6 +8,7 @@ * An individual blog entry page to show a blog entry in full */ class BlogEntry extends Page { + static $default_parent = 'BlogHolder'; static $can_be_root = false; @@ -20,6 +21,15 @@ class BlogEntry extends Page { "Tags" => "Text" ); + static $has_one = array( + ); + + static $has_many = array( + ); + + static $many_many = array( + ); + static $casting = array( "Date" => "Date" );