@Madchatthew said in TNG + Nodebb:
you have to try and use duck tape and super glue to change something to make it do what you want it to do
I couldn’t have put that better myself.
@jac Yes, this is likely to be an issue with how the script is being called. I’m guessing the page loads when accessed directly, but not via the forum itself ?
EDIT - suspicion confirmed. The page loads without issue if accessed directly.
Checking
@jac this should work now. It’s a little primitive, and means the page has to load twice, but it’ll work as desired. Essentially, the below code when added to each widget will force the page to reload directly
<script>
$(window).on('action:ajaxify.end', function (data) {
location.reload();
});
</script>
@phenomlab said in NodeBB - Created pages not found?:
@jac this should work now. It’s a little primitive, and means the page has to load twice, but it’ll work as desired. Essentially, the below code when added to each widget will force the page to reload directly
<script> $(window).on('action:ajaxify.end', function (data) { location.reload(); }); </script>
Brilliant, thank you very much Mark!
Will try this again now. Not been on here much as the Mrs has Covid so we are all off not feeling great.
@jac Sorry to hear that. Hope everything’s ok.
@phenomlab said in NodeBB - Created pages not found?:
@jac Sorry to hear that. Hope everything’s ok.
Thanks Mark, appreciate it.
Fortunately for now it’s just a temperature and a barking cough.
So I’ve got my son at home too as we are awaiting his PCR result to see if he can go back into school. It’s a strange one, if his result comes back as negative he’s allowed back into school , but I have to stay off even though my lateral flow results were negative despite feeling unwell all week it was only on Tuesday night that the Mrs had similar symptoms to me and did a test and was negative on all three just be sure.
@jac A strange setup indeed. I have one of my team at work who has tested positive and needs to self-isolate.
@phenomlab definitely strange, as I’ve had the result back today from the PCR test done on Wednesday and it’s positive despite 3 lateral flow tests being negative.
@jac Yeah, not surprised. I’ve heard numerous stories of multiple LF tests showing as negative, when a PCR is positive.
@phenomlab absolutely, seems a pointless exercise really for many to do the lateral flow test for it to be falsely negative to then go in work etc and spread it when being genuinely positive.
@jac Exactly. Hard point to argue.