diff --git a/lib/theme.js b/lib/theme.js index d8c6e5e..ecac492 100644 --- a/lib/theme.js +++ b/lib/theme.js @@ -11,6 +11,7 @@ const library = module.exports; const defaults = { enableQuickReply: 'on', + enableBreadcrumbs: 'on', centerHeaderElements: 'off', mobileTopicTeasers: 'off', stickyToolbar: 'on', @@ -129,11 +130,6 @@ library.defineWidgetAreas = async function (areas) { template: 'account/profile.tpl', location: 'profile-aboutme-after', }, - { - name: 'Chat Header', - template: 'chats.tpl', - location: 'header', - }, ]); return areas; @@ -147,6 +143,7 @@ library.loadThemeConfig = async function (uid) { const config = { ...defaults, ...themeConfig, ...(_.pick(userConfig, Object.keys(defaults))) }; config.enableQuickReply = config.enableQuickReply === 'on'; + config.enableBreadcrumbs = config.enableBreadcrumbs === 'on'; config.centerHeaderElements = config.centerHeaderElements === 'on'; config.mobileTopicTeasers = config.mobileTopicTeasers === 'on'; config.stickyToolbar = config.stickyToolbar === 'on'; diff --git a/templates/admin/plugins/theme-quickstart.tpl b/templates/admin/plugins/theme-quickstart.tpl index cc7921a..289011a 100644 --- a/templates/admin/plugins/theme-quickstart.tpl +++ b/templates/admin/plugins/theme-quickstart.tpl @@ -8,6 +8,10 @@ +
+ + +