@phenomlab thank you very much for the assistance Mark, massively appreciated as always.
The great thing about this is itās all documented for other NodeBB users that come looking for solutions š.
Looks far better š¤šš».
Hi @phenomlab,
How do I create the pages? I am planning to have pages for About us, Privacy Policy, Terms of Use, etc.
On your site, I can see you have a ālinkā icon which has a dropdown for individual pages. Something like that is suitable for me also.
Also, I saw that on your Policies page, you had 3 topics grouped into a close-open kind of diaplay. How did you do that?
Thank you!
@mventures Youāll need the custom pages plugin for this
https://community.nodebb.org/topic/1701/nodebb-plugin-custom-pages-custom-static-pages-for-nodebb
Thanks again! Should I wait to install these once the site has been upgraded to V3?
Also, I went through the whole thread. Seems to be a complicated affair. Anyway, is this how itās done:
What would be the next steps? The referred page doesnāt seem to have that info. Maybe, I missed.
@mventures Itās not as difficult as it sounds. You just need to gain access to your server via SSH (see https://sudonix.com/topic/445/nodebb-upgrading-to-nodebb-v3-x/6?_=1680448676890) then ensure you are in the NodeBB directory.
From there, you can issue that same code, for example
As you can see from the above, Iāve now installed this on your forum. From here, youāll now need to activate the plugin before you can use it
In your forum, navigate to /admin/extend/plugins#deactive
. You should see the below
Youāll notice that the new plugin appears in the list, but needs to be activated first before it can be used
Click Confirm. After a few seconds, NodeBB will tell you that the plugin has been activated, but you need to rebuild and restart before it will work
Now you need to rebuild and restart
Confirm, and the rebuild/restart process will commence
You should then get a self-closing message telling you that the forum has restarted successfully (and can now be used). At this point, you should press F5 in your browser console to reload the page
Now in the plugins menu, you should see Custom Pages has been added
Thatās it.
Nothing for you to do here, as Iāve already done it on your site
@phenomlab Thank you so much yet again! Much appreciated.
How do I now add the pages?
I went to PLUGINS > CUSTOM PAGES & did the below:
Then, I went to EXTEND > WIDGETS & did the below:
SAVED at both places but nothing has appeared on the footer.
Where am I going wrong?
@mventures That widget will appear in the page it is created, so
Iād also recommend placing that in the content
section (widget) unless you intended for it to be in the footer ?
@phenomlab I would like it the way you have it. Is that the CONTENT SECTION you are referring to? How do I place my new pages in the CONTENT SECTION widget? I have done it as below and saved it, but I canāt see it on the page.
@mventures The privacy policy you see on my site is in fact custom code. The page itself is created the same way, but the running widget is my creation. Iām happy to share the code with you if itāll help, but it may not operate correctly on your site if you use the v2 version.
Thankfully, I have a v3 version ready to go also, and happy to share that if it helps.
OK, I think I have figured out how to place a link in the footer which will click to a new page.