Announcement

Collapse
No announcement yet.

Top & Tail Custom Web Pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Top & Tail Custom Web Pages

    How can I top & tail my Custom Paegs with the "standard" Time/Sunrise/Sunset/User and buttons that I get on the standard HomeSeer pages?

    Thanks
    Nicolai L

    #2
    Take a look at the HS functions - GetPageHeader and GetPageFooter
    --
    Jeff Farmer
    HS 3, HSPhone
    My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
    Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

    Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2

    Comment


      #3
      You would use the scripting commands hs.getpageheader and hs.getpagefooter.

      In an asp for example the format would be:
      PHP Code:
      <%
      hs.GetPageHeader("My Page","","",False,False,False,False,False)
      'your code here
      hs.getpagefooter()
      %> 
      Take a look at the help files under scripting to understand the options.
      Jon

      Comment

      Working...
      X