solved Terms of Service & Coppa Policy Templates

JammerPro
JammerPro
@jammerpro
4 years ago
44 posts
After the last update, My Terms of Service and Coppa Policy Templates do not show. My site is https://Musicians.Exchange and the template files show up in the Nova Dark Skin templates. I reset the caches but nothing. What did you guys do now? This was working perfectly! I'm using Nova Dark and the templates are still intact and have a checkmark next to them as being active... but when you click the hyperlinks at the bottom NOTHING!
updated by @jammerpro: 10/11/20 11:47:49AM
paul
@paul
4 years ago
4,326 posts
Try it now.
There is a test in the template to show a Page module generated ToS or PP page if it exists, which it doesn't in your case, so the template goes on to show its absolute content.
That test looks for a stringlength > 0 which for some reason is no longer working as the string returned from Page search has a few characters in it, even though no page was found.
Not sure what changes we have made that is causing this, but have changed this test to '> 100' and all is now ok.
hth


--
Paul Asher - JR Developer and System Import Specialist
JammerPro
JammerPro
@jammerpro
4 years ago
44 posts
Paul... You are the best. Thanks so much. I never would have figured that one out! Again, thanks a million!!!!!! BTW, You and Big Guy stay safe!

Tags