Here is my list https://www.nodebb.se/topic/4/bra-plugin-att-känna-till
[nodebb-plugin-custom-pages] Custom Static pages for NodeBB
-
@leksar Actually, I found a problem with that. After a forum restart, mypage.tpl is automatically deleted which results in the error appearing again.
-
Yes, I forgot the
.git
extension. You might need to manually delete and re-create the template in the system with the new branch. I don't remember, unfortunately, but it's been stable for a week now without a hiccup. -
Anybody know if there's a clever way to override the global sidebar using bootstrap or CSS? Since there's no longer a homepage route, my sidebar is in the global tpl. But for the custom page, I'd really like to be able to replace those.
-
Is there any chance we can get this working on 0.9.x, or is this pretty well not working at the moment?
-
@Arc it should work just fine on v0.9.x - it does for me. You have to install it manually via
npm install nodebb-plugin-custom-pages
in yournodebb
directory. -
@PitaJ It doesnt seem to, sadly.
It installed fine, and looked all good:
But after 3 restarts, one hard ./nodebb stop and ./nodebb start, and a reload:
Simply no luck.
-
@Arc try removing the leading slash in the route
-
@PitaJ ... Of course it'd be something that simple.
Thanks!
-
@Arc no problem. I've found that slashes in routes can cause lots of problems in NodeBB core and plugins
-
@PitaJ One more question, that I'm sure is just me using bad syntax again- how do you change the pageTitle? Name of page isnt working.
-
@Arc are you referring to the title displayed in the tab? I think that that feature isn't implemented yet, but not exactly sure.
-
@PitaJ Yeah. I can mod it with JS, but that's a nightmare from a web crawler standpoint. I guess I'll mod it in from the .tpl file, thanks!
-
Update for future generations:
Modifying page title in JS like so:
<script> document.title = 'TITLE HERE'; </script>
Actually isnt as bad as everyone says it is. Google lists it fine.
-
Any idea if this is working in version 1?
-
@HolyPhoenix yeah works fine for me
-
Is anybody else seeing errors and route not found in version 1.0.3 of NodeBB and the latest version of the custom pages plugin (0.3.0)?
In the logs I'm seeing:
warn: [hotswap] Could not find router in stack with hotswapId `custom-pages`
Everything works fine if I revert to [email protected]
-
@jongarrison Since the plugin states
"compatibility": "^1.0.4"
from that version onwards, I guess there is a known incompatibility with[email protected]<=1.0.3
. -
@frissdiegurke Woah! Thanks for pointing that out.
-
Need some help! Or support.. All work fine and i can create static page!
On that static page we create HTML form for PayPal checkout for example..
How receive USER.EMAIL variable from nodebb and put inside that form as HIDDEN field ???
Also Pay gateway return with method POST some variables! How use returned VAR ??
Need complete transaction and write Transaction ID to redis!
-
@vitasllc Sounds like you are heading towards plugin development vs just putting up a custom static page. Check out how to use NodeBB templates with custom routes and widgets: https://github.com/NodeBB/nodebb-plugin-quickstart