You can use the filter:<templateName>.build hooks. For the category page it would be filter:category.build, for a topic page it would be filter:topic.build and so on.
Unable to install plugin
-
Whenever I install the plugin, it shows PLUGIN UNINSTALLED The plugin has been successfully deactivated and uninstalled. It was not installed earlier and doesn't show in the installed plugin as well. I tried to rebuild and restart quite a few times but doesn't work.
I am using NodeBB v1.16.2
The plugin I am trying to install: nodebb-plugin-whitelist-email-domains
But I face this problem with all the plugins I tried.
-
@piyush try installing with npm after opening a terminal in your nodebb folder.
npm install nodebb-plugin-whitelist-email-domains
then go to plugin page and activate it, rebuild and restart.