From 318d75ac270879ddc8aef0f6aeb4f2cd0d7975d9 Mon Sep 17 00:00:00 2001 From: czaks Date: Wed, 30 Apr 2014 17:24:11 +0200 Subject: ukko: mod support for ukko; fixes #23 --- inc/config.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index a4d1c6d5..0cd5bcdf 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1521,6 +1521,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'; -- cgit v1.3