@baris Aah. That explains it. Thanks!
@julian Yup. Is it correct that mailgun doesn't have this feature? If so, any chances it could be added pretty please? ❤
The issue you linked is slightly different from what you're experiencing. He has a problem with ajaxify'ing into the page, but you're having a problem with cold load refreshes.
1 - Are you on latest NodeBB
2 - Did you restart? Routes and templates are regenerated on initialization
Thanks for your answer,
yep, i got the last one.
In fact, i can see that the page is loading just as the guy say it in the link and then stop loading, and nothing display.
Then when i try to refresh, this is the message that i had ^^.
Figured out how to repro that bug and fixed it in latest version
Awesome, it's working indeed
AFAIK this problem appears because the plugin doesn't creates the .tpl file in your theme templates. So you can copy homepage.tpl from nodebb-plugin-custom-pages/templates to [yourtheme]/templates directory and name it like you named your page in ACP (mypage.tpl) as temporary solution.
@psychobunny which version are you referring to?
npm install nodebb-plugin-custom-pages still produces this error. Is there a more recent version of the plugin available?
@henrywright Try this:
cd ~/NodeBB/node_modules npm remove nodebb-plugin-custom-pages && rm -rf nodebb-plugin-custom-pages git clone https://github.com/rbeer/nodebb-plugin-custom-pages git checkout tplCopyIssue
@Guiri doesn't the clone URL need a .git on the end?
@leksar I tested this (copying the template file to the location where it's missing) and it worked. Thanks for sharing
@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 your
@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.