NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on May 23, 2019, 02:54:04 PM
-
how i can insert a link reference visible in all pages?
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
index page is only procedure that provide W3 Header Override
NT 10.36
thanks
-
Look in your WebHandler's SetCustomHTMLHeaders method. I place mine before the parent call.
You can do something like:
self.MetaHeaders('<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous"><13,10>')
-
Don Thanks work perfect but with a little change
self.MetaHeaders = '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous"><13,10>'
-
LOL. Yeah, I have been writing a lot of methods lately. Too accustomed to parentheses...