[nodebb-plugin-custom-pages] Custom Static pages for NodeBB
-
Updated plugin (v0.5.1) for the upcoming version of NodeBB (v1.6.0, or the
develop
branch as of this commit).Use plugin version v0.4.1 for NodeBB v1.5.3 compatibility.
Changelog
- Fixes for 1.5.3 and up
- Added permissions: restrict pages by group(s), registered users, etc.
- No restarts required anymore when adding/deleting pages
- Added
user
object to page data so you can do some benchpress logic - Deprecated custom
class
field, use.page-<route>
which is set by NodeBB core instead - Widgets get moved into the "Draft Zone" if you delete a custom page
-
I get incorrect urls for the "recent view" module (v0.4.1):
mydomain.com/%7Bconfig.relative_path%7D/topic/2/foo-bar
-
@psychobunny thanks a lot
-
I created a static page for displaying my privacy policy and TOS.
I added some contents to the page in the Widgets tab.
But when I navigate to the page, it is empty. No content is being shown.
Can anyone help me with this. Thanks a lot..!
-
@julian
I am using a hosted solution. So I don't have access to command line.
Any other ideas? -
Hi @Vamsi-Krishna, just following up here as well that we've received your support ticket and have addressed your issue. Let us know via support if you have any other questions.
Thanks!
-
After upgrading nodebb from v1.5.2 to v1.6.0 and updating the plugin to 0.5.3, the layout of some (but not all) of my custom pages are messed up!
- Sidebar is below the content
- The global footer is shown twice
- In case of a page footer, the global footer is shown on top of the page footer
Any hints or ideas?
-
After looking deeper into the issues, I found the root cause of the first two issues in an invalid html code inside the container of one of my used widgets! So no plugin or v1.6.0 problem !
The third issue "In case of a page footer, the global footer is shown on top of the page footer" seem to be a valid finding. But it is not critical for me. I will raise a bug on github.
-
How can i set Path to Page to /
It won' t save.
-
I want a custom page for / ie www.test.com not www.test.com/pagename.
If I klick the logo it works but if i reload the browser or enter the link www.test.com it redirects to www.test.com/pagename.
I only want a standard custom homepage just like the custom hompage plugin worked, am i missing something here @julian
-
(@MJ late reply, but this has been fixed in the latest plugin and NodeBB core btw)
-
@psychobunny : Can you please look into https://github.com/NodeBB-Community/nodebb-plugin-custom-pages/issues/57. It seems the latest version 1.10.2 has an issue at least in some installations . Many thanks in advance!
-
Should be fixed in 1.0.2 of this plugin
-
Hello !
I need to change some bootstrap classes in custom-page.tpl (to change sidebar dynamical width for example as I have already done it in my own theme templates files). I can do it directly in nodebb-plugin-custom-pages/templates/custom-page.tpl but it will be replaced on each package upgrade... Not great !
Is there another way to do it without this problem ?
Thanks in advance !