Since they're global, it doesn't seem to make sense that they're reloaded every time you navigate to a different page.
Would save a few reflows if they were persistent like the navbar.
@psychobunny Custom header is a way, but not good enough, in fact I am writing a plugin which act somewhat like nodebb-plugin-widgets-essential, that is to add one of our custom widget.
@bgdztft said in Problem about global data transfer:
Thanks,
I have solved this question by myself.
Thanks,
Finally I found a great post with interesting topic.
There is an issue open to add areas, but for now, you have to add them yourself.
https://github.com/NodeBB/nodebb-theme-persona/issues/69
If you just want to change some css, you can use the class that is added to the body tag, and add to the custom css section ike so:
body.page-recent div[data-widget="theWidgetName"] {
color: orange;
}
kurt-stolle created this issue in NodeBB/nodebb-theme-persona
closed
No widget areas defined
#69
I collected this data when my NodeBB became unresponsive (ie. could not access forum from my browser)
vmstat output from my AWS host -
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 263132 150504 178488 0 0 1 2 0 2 0 0 100 0 0
logs from my Chrome console -
nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:13 nodebb-plugin-custom-pages: loaded
http://127.0.0.1:4567/api/?_=1464717261007 Failed to load resource: net::ERR_EMPTY_RESPONSE
nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:11 Uncaught TypeError: Cannot read property 'bodyClass' of undefined(anonymous function) @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:11e.translate @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:15(anonymous function) @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:11f @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:10t.parse @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:10o @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:11r @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:11(anonymous function) @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:11$.ajax.error @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:11u @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:1f.fireWith @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:1T @ nodebb.min.js?8cb834b4-180f-4e3d-9f1e-619a63792609:3i @ no