diff --git a/action.php b/action.php index 4a49791..ad568e3 100644 --- a/action.php +++ b/action.php @@ -17,6 +17,7 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{ function register(&$controller) { $controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'init',array()); + $controller->register_hook('DETAIL_STARTED', 'AFTER', $this, 'init',array()); $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'redirect',array()); $controller->register_hook('ACTION_ACT_PREPROCESS', 'AFTER', $this, 'acl',array()); $controller->register_hook('COMMON_USER_LINK', 'AFTER', $this, 'replaceUserLink',array()); diff --git a/plugin.info.txt b/plugin.info.txt index a91ff8f..dbaf5e8 100644 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base userhomepage author Simon Delage email simon.geekitude@gmail.com -date 2015-08-20 +date 2015-10-03 name User Homepage desc Automatically create user's private namespace and/or public page and redirects users to private namespace on login. url https://www.dokuwiki.org/plugin:userhomepage