NetTalk Central

Author Topic: Gettinng Session Theme - get the default theme  (Read 81 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
    • Email
Gettinng Session Theme - get the default theme
« on: June 29, 2025, 03:48:33 AM »
Hi
NT14.21  C11 ABC
I have my site default theme set as 'shoestrap3' and it is saved in:   s_web._SitesQueue.Defaults.DefaultTheme = set:Theme
How can I get this value so that I can display it on a page?   
This does NOT WORK......message('theme is : ' & s_web._SitesQueue.Defaults.DefaultTheme )
Tried several variations but not successful.
So, How can I get the value of:   s_web._SitesQueue.Defaults.DefaultTheme
Thanks,
Ron

Jane

  • Sr. Member
  • ****
  • Posts: 402
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Gettinng Session Theme - get the default theme
« Reply #1 on: June 29, 2025, 11:10:24 AM »
The Themer example has code in the PageHeader xml to display the *current* theme using <!-- Net:s:_theme_ -->

But to get the default, you could try using  p_web.WebServer._SitesQueue.Defaults.DefaultTheme