-
Notifications
You must be signed in to change notification settings - Fork 9
/
plugin.json
48 lines (48 loc) · 2.37 KB
/
plugin.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"id": "nodebb-plugin-featured-topics-extended",
"name": "Featured Topics Extended",
"description": "Adds a customisable news/blog page and some widgets using featured topics.",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:homepage.get", "method": "homepageGet" },
{ "hook": "action:homepage.get:news", "method": "newsRender" },
{ "hook": "filter:admin.header.build", "method": "adminBuild" },
{ "hook": "filter:navigation.available", "method": "addNavs" },
{ "hook": "filter:widgets.getAreas", "method": "getAreas" },
{ "hook": "filter:widgets.getWidgets", "method": "getWidgets" },
{ "hook": "filter:widget.render:featuredTopicsExBlocks", "method": "renderFeaturedTopicsBlocks" },
{ "hook": "filter:widget.render:featuredTopicsExCards", "method": "renderFeaturedTopicsCards" },
{ "hook": "filter:widget.render:featuredTopicsExList", "method": "renderFeaturedTopicsList" },
{ "hook": "filter:widget.render:featuredTopicsExSidebar", "method": "renderFeaturedTopicsSidebar" },
{ "hook": "filter:widget.render:featuredTopicsExNews", "method": "renderFeaturedTopicsNews" },
{ "hook": "filter:topic.thread_tools", "method": "addThreadTools" },
{ "hook": "filter:post.tools", "method": "addPostTools" },
{ "hook": "action:topic.post", "method": "topicPost" },
{ "hook": "action:topic.delete", "method": "topicDelete" },
{ "hook": "filter:user.profileMenu", "method": "userProfileMenu" },
{ "hook": "filter:admin/extend/widgets.build", "method": "buildWidgets" }
],
"templates": "./public/templates",
"scss": [
"./public/scss/style.scss",
"./public/scss/blocks.scss",
"./public/scss/glide.scss"
],
"scripts": [
"./public/src/script.js"
],
"acpScripts": [
"./public/src/acp.js"
],
"modules": {
"glide.js": "./modules/glide.min.js",
"masonry.js": "./modules/masonry.pkgd.min.js",
"../admin/plugins/featured-topics-extended.js": "./public/src/featured-topics-extended-admin.js",
"../client/news.js": "./public/src/news.js",
"../client/fte-featured.js": "./public/src/featured.js",
"../client/account/fte-featured.js": "./public/src/featured.js",
"../client/account/fte-blog.js": "./public/src/featured.js"
},
"languages": "public/language",
"defaultLang": "en_GB"
}