BUGFIX Specify names and improve descriptions for page types.

This commit is contained in:
Simon Elvery 2012-10-09 10:14:31 +10:00
parent cfa7410cf2
commit 17421c9965
3 changed files with 13 additions and 1 deletions

View File

@ -18,6 +18,10 @@ class BlogEntry extends Page {
static $icon = "blog/images/blogpage-file.png";
static $description = "An individual blog entry";
static $singular_name = 'Blog Entry Page';
static $plural_name = 'Blog Entry Pages';
static $has_one = array();

View File

@ -14,7 +14,11 @@
class BlogHolder extends BlogTree implements PermissionProvider {
static $icon = "blog/images/blogholder-file.png";
static $description = "Displays Blog Entries";
static $description = "Displays listings of blog entries";
static $singular_name = 'Blog Holder Page';
static $plural_name = 'Blog Holder Pages';
static $db = array(
'TrackBacksEnabled' => 'Boolean',

View File

@ -15,6 +15,10 @@ class BlogTree extends Page {
static $description = "A grouping of blogs";
static $singular_name = 'Blog Tree Page';
static $plural_name = 'Blog Tree Pages';
// Default number of blog entries to show
static $default_entries_limit = 10;