@baris I'm on nodebb-plugin-friends 1.2.0, latest master and unfortunately, it doesn't 😞
[nodebb-plugin-custom-pages] Custom Static pages for NodeBB
(@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
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 !
MJ last edited by
@alfazaz Use the plugin nodebb-plugin-customize to avoid the overwriting problem
@MJ I tried it but without success (tried to create a diff for custom-page.tpl and also for my already created custom page accueil.tpl ; it doesn't work even after rebuild). I'm on the latest nodebb version.
I tried to override custom-page.tpl (and also accueil.tpl generated by custom-pages) with a plugin but... no success...
I think I'm going to fork the module (fork modules to change templates : bof bof... )
This plugin should expose a new page that you can customize with widget areas, is that not what is showing up?
@julian The problem is not here. I see the page but I want to change its template.
To explain more :
- I create a custom page /accueil with the custom-pages plugin which seems to auto-generate accueil.tpl.
- I cannot change accueil.tpl without changing this custom-pages module (?). No success playing in my own theme or from another plugin.
I will also need to change the onlineusers.tpl template from widget-essentials and I think I will have the same problem (?).
crazycells last edited by
Can we use this plugin to add announcements, reference to rules, or any html specifically to the login page?