| 5 | | 'name' => 'blog', |
|---|
| 6 | | 'title' => 'Weblog', |
|---|
| 7 | | 'description' => 'Typical weblog template with comments enabled', |
|---|
| 8 | | 'credits' => 'Henri Bergius, the Midgard Project', |
|---|
| 9 | | 'license' => 'LGPL', |
|---|
| 10 | | 'examples' => array |
|---|
| 11 | | ( |
|---|
| 12 | | 'http://www.creatingleet.com/' => 'Leet.tv team blog', |
|---|
| 13 | | 'http://www.protoblogr.net/' => 'Protoblogr: Jerry Jalava\'s blog', |
|---|
| 14 | | ), |
|---|
| 15 | | |
|---|
| 16 | | // Groups that should be created / used for this site template |
|---|
| 17 | | 'groups' => array |
|---|
| 18 | | ( |
|---|
| 19 | | 'authors', |
|---|
| 20 | | ), |
|---|
| 21 | | |
|---|
| 22 | | // Root node definition |
|---|
| 23 | | 'root' => array |
|---|
| 24 | | ( |
|---|
| 25 | | 'name' => '__HOSTNAME__', |
|---|
| 26 | | 'title' => '__HOSTTITLE__', |
|---|
| 27 | | 'component' => 'net.nehmer.blog', |
|---|
| 28 | | 'acl' => array |
|---|
| 29 | | ( |
|---|
| 30 | | 'authors' => array |
|---|
| 31 | | ( |
|---|
| 32 | | 'midgard:owner' => MIDCOM_PRIVILEGE_ALLOW, |
|---|
| 33 | | ), |
|---|
| 34 | | ), |
|---|
| 35 | | 'parameters' => array |
|---|
| 36 | | ( |
|---|
| 37 | | 'net.nehmer.blog' => array |
|---|
| 38 | | ( |
|---|
| 39 | | // Configuration more suitable for blog usage (instead of the more news listing -like defaults) |
|---|
| 40 | | 'index_entries' => 8, |
|---|
| 41 | | 'comments_enable' => true, |
|---|
| 42 | | 'api_metaweblog_enable' => true, |
|---|
| 43 | | 'view_in_url' => false, |
|---|
| 44 | | 'index_fulltext' => true, |
|---|
| 45 | | ), |
|---|
| 46 | | ), |
|---|
| 47 | | // Child node definitions |
|---|
| 48 | | 'nodes' => array |
|---|
| 49 | | ( |
|---|
| 50 | | 'comments' => array |
|---|
| 51 | | ( |
|---|
| 52 | | 'name' => 'comments', |
|---|
| 53 | | 'title' => '__HOSTTITLE__ comments', |
|---|
| 54 | | 'component' => 'net.nehmer.comments', |
|---|
| 55 | | 'acl' => array |
|---|
| 56 | | ( |
|---|
| 57 | | 'authors' => array |
|---|
| 58 | | ( |
|---|
| 59 | | 'midgard:delete' => MIDCOM_PRIVILEGE_ALLOW, |
|---|
| 60 | | ), |
|---|
| 61 | | ), |
|---|
| 62 | | 'parameters' => array |
|---|
| 63 | | ( |
|---|
| 64 | | 'net.nehmer.comments' => array |
|---|
| 65 | | ( |
|---|
| 66 | | 'allow_anonymous' => true, |
|---|
| 67 | | ), |
|---|
| 68 | | ), |
|---|
| 69 | | ), |
|---|
| 70 | | ), |
|---|
| 71 | | ), |
|---|
| 72 | | ), |
|---|
| | 5 | 'name' => 'blog', |
|---|
| | 6 | 'title' => 'Weblog', |
|---|
| | 7 | 'description' => 'Typical weblog template with comments enabled', |
|---|
| | 8 | 'credits' => 'Henri Bergius, the Midgard Project', |
|---|
| | 9 | 'license' => 'LGPL', |
|---|
| | 10 | 'examples' => array |
|---|
| | 11 | ( |
|---|
| | 12 | 'http://www.creatingleet.com/' => 'Leet.tv team blog', |
|---|
| | 13 | 'http://www.protoblogr.net/' => 'Protoblogr: Jerry Jalava\'s blog', |
|---|
| | 14 | ), |
|---|
| | 17 | // Groups that should be created / used for this site template |
|---|
| | 18 | 'groups' => array |
|---|
| | 19 | ( |
|---|
| | 20 | 'authors', |
|---|
| | 21 | ), |
|---|
| | 22 | |
|---|
| | 23 | // Root node definition |
|---|
| | 24 | 'root' => array |
|---|
| | 25 | ( |
|---|
| | 26 | 'name' => '__HOSTNAME__', |
|---|
| | 27 | 'title' => '__HOSTTITLE__', |
|---|
| | 28 | 'component' => 'net.nehmer.blog', |
|---|
| | 29 | 'acl' => array |
|---|
| | 30 | ( |
|---|
| | 31 | 'authors' => array |
|---|
| | 32 | ( |
|---|
| | 33 | 'midgard:owner' => MIDCOM_PRIVILEGE_ALLOW, |
|---|
| | 34 | ), |
|---|
| | 35 | ), |
|---|
| | 36 | 'parameters' => array |
|---|
| | 37 | ( |
|---|
| | 38 | 'net.nehmer.blog' => array |
|---|
| | 39 | ( |
|---|
| | 40 | // Configuration more suitable for blog usage (instead of the more news listing -like defaults) |
|---|
| | 41 | 'index_entries' => 8, |
|---|
| | 42 | 'comments_enable' => true, |
|---|
| | 43 | 'api_metaweblog_enable' => true, |
|---|
| | 44 | 'view_in_url' => false, |
|---|
| | 45 | 'index_fulltext' => true, |
|---|
| | 46 | ), |
|---|
| | 47 | ), |
|---|
| | 48 | // Child node definitions |
|---|
| | 49 | 'nodes' => array |
|---|
| | 50 | ( |
|---|
| | 51 | 'comments' => array |
|---|
| | 52 | ( |
|---|
| | 53 | 'name' => 'comments', |
|---|
| | 54 | 'title' => '__HOSTTITLE__ comments', |
|---|
| | 55 | 'component' => 'net.nehmer.comments', |
|---|
| | 56 | 'acl' => array |
|---|
| | 57 | ( |
|---|
| | 58 | 'authors' => array |
|---|
| | 59 | ( |
|---|
| | 60 | 'midgard:delete' => MIDCOM_PRIVILEGE_ALLOW, |
|---|
| | 61 | ), |
|---|
| | 62 | ), |
|---|
| | 63 | 'parameters' => array |
|---|
| | 64 | ( |
|---|
| | 65 | 'net.nehmer.comments' => array |
|---|
| | 66 | ( |
|---|
| | 67 | 'allow_anonymous' => true, |
|---|
| | 68 | ), |
|---|
| | 69 | ), |
|---|
| | 70 | ), |
|---|
| | 71 | ), |
|---|
| | 72 | ), |
|---|
| | 73 | ), |
|---|
| | 74 | |
|---|
| | 75 | |
|---|