aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/start.php b/start.php
index ff0182c3b..94a07a35c 100644
--- a/start.php
+++ b/start.php
@@ -27,6 +27,15 @@ function videolist_init() {
// Register a page handler, so we can have nice URLs
elgg_register_page_handler('videolist', 'videolist_page_handler');
+
+ // Language short codes must be of the form "videolist:key"
+ // where key is the array key below
+ elgg_set_config('videolist', array(
+ 'video_url' => 'url',
+ 'title' => 'text',
+ 'tags' => 'tags',
+ 'access_id' => 'access',
+ ));
//extend this plugin for groups
elgg_extend_view('groups/tool_latest','videolist/groupprofile_videolist');