NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on August 21, 2023, 12:50:25 AM

Title: NT11 to NT14 problem in Webserver procedure
Post by: Thys on August 21, 2023, 12:50:25 AM
Hi

I've upgraded to NT14 from NT11. In my app the webserver procedure still has this template code, which apparently uses a variable that doesn't exist anymore:

  If set:Theme = '' then set:theme = 'ui-lightness'.
  s_web._SitesQueue.Defaults.DefaultTheme = set:theme


There is nowhere in my code a reference to set:theme and it's only exists in the generated code. Any ideas?

Thanks
Title: Re: NT11 to NT14 problem in Webserver procedure
Post by: WillieB82 on August 21, 2023, 10:23:10 AM
I have exactly the same problem
Title: Re: NT11 to NT14 problem in Webserver procedure
Post by: WillieB82 on August 21, 2023, 10:32:55 AM
FYI, I fixed it by re-adding the nettalk settings control template.
Title: Re: NT11 to NT14 problem in Webserver procedure
Post by: Bruce on August 21, 2023, 11:02:48 AM
you need to add the Settings Control Template.
I'm moving towards this being "required" - because in the long run it means dropping a bunch of template settings.