NetTalk Central

Author Topic: NT11 to NT14 problem in Webserver procedure  (Read 744 times)

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
NT11 to NT14 problem in Webserver procedure
« 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

WillieB82

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: NT11 to NT14 problem in Webserver procedure
« Reply #1 on: August 21, 2023, 10:23:10 AM »
I have exactly the same problem

WillieB82

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: NT11 to NT14 problem in Webserver procedure
« Reply #2 on: August 21, 2023, 10:32:55 AM »
FYI, I fixed it by re-adding the nettalk settings control template.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: NT11 to NT14 problem in Webserver procedure
« Reply #3 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.