[nodebb-plugin-custom-homepage] Basic CMS plugin - custom homepage
-
hi !
I have error in console :
http://i.imgur.com/Ugwlykk.png
Can you help me ?
My nodebb version 0.5.7 -
@nette18 did you see the source code in 'src/plugins.js' at v0.5.7
Plugins.fireHook('static:app.load', router, middleware, controllers, function() { hotswap.replace('plugins', router); winston.info('[plugins] All plugins reloaded and rerouted'); callback(); });
In this version: there used old way to call the plugins hook.
SO, please check your plugins version. The 'HEAD' one is support the V0.6.x version. It does not work for V0.5.7
-
@nette18 said:
hi !
I have error in console :
http://i.imgur.com/Ugwlykk.png
Can you help me ?
My nodebb version 0.5.7Did this plugin for your error.
you can remove the old one, and install this.https://www.npmjs.com/package/nodebb-plugin-custom-homepage-just-v00507
when you need upgrade your nodded to v0.6.x :
you can remove it and reinstall nodebb-plugin-custom-homepage.eg
But the same error needs change core of nodebb in 'src/router/index.js'
see: comment:67 -
-
@nette18 said:
@a_5mith I don't understand your sentence but I know there is exist plugin for news : https://github.com/alesaint/nodebb-plugin-news but this not work on 0.8 version.
Edited last post, was typing on a phone. Auto correct failed me. I'll look at it shortly and submit a PR if I can.
-
I can't get this working for 0.6.x series?
-
@raistlinthewiz Error messages? Make sure you're using the correct version for your version of NodeBB. If you're using 0.5.x you want to use version 0.0.6 of the plugin.