[nodebb-plugin-custom-homepage] Basic CMS plugin - custom homepage
-
AFAIK this is broken on 0.5.3, any chance that it could get some love?
Or let me know if it's supposed to be working and that I'm just doing something wrong here.
-
@erlgo said:
Looks the plguins no way to replace router['/'] in nodebb current head version?
the plugins router install before system router install.?When you click the logo at top left in the page. it works fine.
but if you 'refresh' it or open the site use url http://127.0.0.1:4567/ its not working.any body who can tell me how?
Can I replace the router '/'? -
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.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.