-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
26 lines (26 loc) · 905 Bytes
/
Copy pathplugin.json
File metadata and controls
26 lines (26 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"id": "nodebb-plugin-topic-search-button",
"name": "Topic Search Button",
"description": "Adds a 'Search in topic' button to the topic toolbar that pre-fills the search box with the in:topic-<tid> prefix.",
"url": "https://github.com/jasonwch/nodebb-plugin-topic-search-button/",
"library": "library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:config.get", "method": "exposeConfig" },
{ "hook": "filter:settings.set", "method": "onSettingsSave" }
],
"staticDirs": {
"static": "./static"
},
"templates": "./static/templates",
"modules": {
"../admin/plugins/topic-search-button.js": "./static/lib/admin.js"
},
"scripts": [
"static/lib/client.js"
],
"languages": "static/languages",
"defaultLang": "en-GB",
"settingsRoute": "/admin/plugins/topic-search-button"
}