[nodebb-plugin-custom-homepage] Basic CMS plugin - custom homepage
-
Why i cant activate plugins?!
-
for this plugin or any plugin? no errors?
-
Any Plugin!
-
Any Plugin!
You have to restart NodeBB for a plugin to activate
im having an issue where if im on any page and i click the site title, it reloads a blank page with just the header, but if i refresh the page through the browser it loads the homepage.
Did you add any widgets to your custom homepage? If so, do you see any errors in your console? Also, I'll assume you're fairly up to date wrt core yes?
-
You have to restart NodeBB for a plugin to activate
@psychobunny but if a plugin is activated, that act by itself also restarts NodeBB. So you don't need to restart it again separately.
-
Depends on how you've started NodeBB, these days we've got the loader.js functionality in, but not everybody's switched over from using
forever app.js
, etc - this will not auto-restart and will display an error -
@julian A couple questions:
-
When using the "recent view" widget, it defaults to topics from the past day. Since I won't have topics each day, I don't want this to result in a blank page. The "recent post" widget has an option to include the past week or month -- is a similar thing possible with the "recent view" widget?
-
None of the topic lists have a "New Topic" button (hence the widgetized homepage also doesn't have one with the recent view list). Is it possible to add the "New Topic" button to each page (recent posts and popular posts), or manually add it to the custom home page?
-
-
If I navigate to the custom homepage from any other page, only the sidebar loads. None of the other widgets (header, footer, content) show up and Firefox' Inspector can't seem to find them either.
It does work when directly navigating to the page though, so I'm guessing this must be related to the SPA-ness of NodeBB? -
- When using the "recent view" widget, it defaults to topics from the past day. Since I won't have topics each day, I don't want this to result in a blank page. The "recent post" widget has an option to include the past week or month -- is a similar thing possible with the "recent view" widget?
Created an issue for it, track progress here
- None of the topic lists have a "New Topic" button (hence the widgetized homepage also doesn't have one with the recent view list). Is it possible to add the "New Topic" button to each page (recent posts and popular posts), or manually add it to the custom home page?
I wonder if this script could be re-appropriated for that use
If I navigate to the custom homepage from any other page, only the sidebar loads
I haven't encountered this problem myself, are you completely up to date?
-
@psychobunny said:
I haven't encountered this problem myself, are you completely up to date?
That particular installation was freshly pulled yesterday and this plugin was installed via list of available plugins in the Admin Panel, which I believe just calls npm.
Both https://www.npmjs.org/package/nodebb-plugin-custom-homepage and https://github.com/psychobunny/nodebb-plugin-custom-homepage were last updated a month ago, so unless there is some massive time dilation going on it's probably up to date. -
@julian Thanks for the explanation on where to go to use this (especially for us nodebb noobs)
@psychobunny Great plugin! Can you add a note on your github readme? Thanks! -
@Xiph said:
If I navigate to the custom homepage from any other page, only the sidebar loads.
UPDATE: After some (re)starts it seems to work perfectly fine, though most of the time the aforementioned bug still occurs. Basically, restart 'till ya get lucky.
I checked the console for any particular errors or warnings related to this plugin, but there appear to be none. (although there's plenty of plugins complaining about either staticDirs or callbacked.nodebb-plugin-emoji
seems to find it necessary to print that particular warning a couple billion times)