Merge pull request #51 from sekjal/master

Add descriptions for blog page types (Fixes #42)
This commit is contained in:
Will Rossiter 2012-09-25 01:12:00 -07:00
commit 48d2704d9e
3 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,8 @@ class BlogEntry extends Page {
static $icon = "blog/images/blogpage-file.png"; static $icon = "blog/images/blogpage-file.png";
static $description = "An individual blog entry";
static $has_one = array(); static $has_one = array();
static $has_many = array(); static $has_many = array();

View File

@ -14,6 +14,8 @@
class BlogHolder extends BlogTree implements PermissionProvider { class BlogHolder extends BlogTree implements PermissionProvider {
static $icon = "blog/images/blogholder-file.png"; static $icon = "blog/images/blogholder-file.png";
static $description = "Displays Blog Entries";
static $db = array( static $db = array(
'TrackBacksEnabled' => 'Boolean', 'TrackBacksEnabled' => 'Boolean',
'AllowCustomAuthors' => 'Boolean', 'AllowCustomAuthors' => 'Boolean',

View File

@ -13,6 +13,8 @@ class BlogTree extends Page {
static $icon = "blog/images/blogtree-file.png"; static $icon = "blog/images/blogtree-file.png";
static $description = "A grouping of blogs";
// Default number of blog entries to show // Default number of blog entries to show
static $default_entries_limit = 10; static $default_entries_limit = 10;