diff options
| author | czaks <marcin@6irc.net> | 2014-04-30 17:24:11 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-04-30 18:18:55 +0200 |
| commit | 776bbeb73e51dca272de3831b6715b67d76c841f (patch) | |
| tree | 378d61fc8107023c0df45110284bbe7073fc708a /inc | |
| parent | 400df0975fc6eb0570ed65706dadc81281f5dc75 (diff) | |
ukko: mod support for ukko; fixes #23
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/config.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index 9a1dd706..88db1db0 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1526,6 +1526,23 @@ // // ... // }; + // You can also enable themes (like ukko) in mod panel like this: + // require_once("templates/themes/ukko/theme.php"); + // + // $config['mod']['custom_pages']['/\*/'] = function() { + // global $mod; + // + // $ukko = new ukko(); + // $ukko->settings = array(); + // $ukko->settings['uri'] = '*'; + // $ukko->settings['title'] = 'derp'; + // $ukko->settings['subtitle'] = 'derpity'; + // $ukko->settings['thread_limit'] = 15; + // $ukko->settings['exclude'] = ''; + // + // echo $ukko->build($mod); + // }; + // Example: Add links to dashboard (will all be in a new "Other" category). // $config['mod']['dashboard_links']['Something'] = '?/something'; |
