mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #58 from lrc/page-details-fix
BUGFIX Specify names and improve descriptions for page types.
This commit is contained in:
commit
59731c2b13
@ -19,6 +19,10 @@ class BlogEntry extends Page {
|
||||
|
||||
static $description = "An individual blog entry";
|
||||
|
||||
static $singular_name = 'Blog Entry Page';
|
||||
|
||||
static $plural_name = 'Blog Entry Pages';
|
||||
|
||||
static $has_one = array();
|
||||
|
||||
static $has_many = array();
|
||||
|
@ -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',
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user