NetTalk Central

Author Topic: Insert Link  (Read 2623 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 664
    • View Profile
    • Email
Insert Link
« 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Insert Link
« Reply #1 on: May 24, 2019, 02:03:51 AM »
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>')
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

osquiabro

  • Hero Member
  • *****
  • Posts: 664
    • View Profile
    • Email
Re: Insert Link
« Reply #2 on: May 24, 2019, 04:00:19 AM »
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>'

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Insert Link
« Reply #3 on: May 24, 2019, 04:07:06 AM »
LOL.  Yeah, I have been writing a lot of methods lately.  Too accustomed to parentheses...
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11