mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
Merge pull request #51 from sekjal/master
Add descriptions for blog page types (Fixes #42)
This commit is contained in:
commit
48d2704d9e
@ -16,6 +16,8 @@ class BlogEntry extends Page {
|
||||
static $can_be_root = false;
|
||||
|
||||
static $icon = "blog/images/blogpage-file.png";
|
||||
|
||||
static $description = "An individual blog entry";
|
||||
|
||||
static $has_one = array();
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
class BlogHolder extends BlogTree implements PermissionProvider {
|
||||
static $icon = "blog/images/blogholder-file.png";
|
||||
|
||||
static $description = "Displays Blog Entries";
|
||||
|
||||
static $db = array(
|
||||
'TrackBacksEnabled' => 'Boolean',
|
||||
'AllowCustomAuthors' => 'Boolean',
|
||||
|
@ -12,6 +12,8 @@
|
||||
class BlogTree extends Page {
|
||||
|
||||
static $icon = "blog/images/blogtree-file.png";
|
||||
|
||||
static $description = "A grouping of blogs";
|
||||
|
||||
// Default number of blog entries to show
|
||||
static $default_entries_limit = 10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user