[nodebb-plugin-custom-homepage] Basic CMS plugin - custom homepage
-
Hey clearly I've missed all your previous posts (although a few of the issues were pointed out to me by others and I've fixed some of them) - let me know if anything from your past posts are still an issue.
is there a way to set a custom sidebar on the forums page separate from the homepage
It depends on the theme, this is specifically for the homepage. Lavender has sidebar widget areas for the home and category pages for example. If you're looking for a widget area on a specific page, let me know, I might be able to incorporate it into the theme.
-
It's on Lavender, would just like to have the ability to put a sidebar on the forums page separate from the home or category pages
-
Once this plugin is installed it appears to load the forum page as a hard link rather than a smooth one like the rest, i.e. there is no loading bar when navigating into the forums area as compared to the rest of the pages. Makes for a bit of a jolt in the flow in the forums, is this a possible fix?
-
Dear master
I follow the idea of the plugin's route:
app.get('/', middleware.buildHeader, renderHomepage); app.get('/api/home', renderHomepage); app.get('/templates/home.tpl', renderHomepage); app.get('/forum', middleware.buildHeader, controllers.home); app.get('/api/forum', controllers.home);
When I enter "/", custom homepage appeared , then "/forum/, it work ok, then to topics list page, then click browser's "back" button , it can't back to "/forum".
I don't know how to make it ok, need help
-
When I enter "/", custom homepage appeared , then "/forum/, it work ok, then to topics list page, then click browser's "back" button , it can't back to "/forum".
I don't know how to make it ok, need help
Don't think I follow 100%, are you building your own plugin and using this one as a base?
Makes for a bit of a jolt in the flow in the forums, is this a possible fix?
Yeah I think I fixed it a while ago tbh, but it might have broken again after some changes in core. I'll have a look: https://github.com/NodeBB/nodebb-plugin-custom-homepage/issues/5
-
@psychobunny said:
When I enter "/", custom homepage appeared , then "/forum/, it work ok, then to topics list page, then click browser's "back" button , it can't back to "/forum".
I don't know how to make it ok, need help
Don't think I follow 100%, are you building your own plugin and using this one as a base?
Yes, I'm building my own plugin, but I only adopt the idea of the route rules. I had try to just install the custom homepage plugin to see if it is ok, but seems also the problem. I did need a hompage before enter forum home. Some good idea please?
-
Looking at this and wondering about the photo in the first post. What is the sample blog post? Is that just another forum post but styled differently or something else altogether. If it works like wordpress, one less software to install and make it 100% nodebb. Anyone with experience care to give examples of how this works?
-
I really love this plugin! But to be honest, I was fooled by the screenshot in the OP.
It would be great if we could pull topics from a specified forum category as blog posts and see topic posts as blog comments. -
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