NetTalk Central

Author Topic: How to set _SitesQueue.Defaults.Style.FormDiv  (Read 2334 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to set _SitesQueue.Defaults.Style.FormDiv
« on: April 14, 2014, 03:20:32 AM »
I need to set the ._SitesQueue.Defaults.Style.FormDiv depending on the loged in user
I looked in the WebServer and forund
          s_web._SitesQueue.Defaults.Style.FormDiv = ' nt-left  nt-width-100'
I tried to do it in the WebHAndler but I get errors using p_web....

      if yadayada
          p_web._SitesQueue.Defaults.Style.FormDiv = ' nt-left  nt-width-100'
      ELSE
          p_web._SitesQueue.Defaults.Style.FormDiv = ' nt-left  nt-width-85'
      END

How can I do it?

Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to set _SitesQueue.Defaults.Style.FormDiv
« Reply #1 on: April 14, 2014, 05:06:00 AM »
in WebHandler, ProcessLink method, before parent call, set

p_web.Site.Style.FormDiv = 'whatever'

cheers
Bruce