NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: peterH on August 03, 2020, 10:39:00 PM

Title: Sequence of includes in the header
Post by: peterH on August 03, 2020, 10:39:00 PM
Hi,

I want to use a Bootstrap function on a specific page so I'm adding  a link to the BS file(s) in SetCustomHTMLHeaders. However, the files are included before the JQuery files that NT uses - no matter if I set the header before or after the parent call. And since the bs-function in question is dependent on some jQuery js I get an error ("x is not a function").

So my question is: how can I add stuff to the header after what is generated by NT?

Peter
Title: Re: Sequence of includes in the header
Post by: Bruce on August 03, 2020, 11:42:37 PM
you should add CSS files via the web server nettalk extension \styles\files tab

you should add js files via the web server nettalk extension \scripts tab

cheers
Bruce
Title: Re: Sequence of includes in the header
Post by: peterH on August 04, 2020, 12:06:06 AM
Hi Bruce,

You are absolutely right! <BG>

Thanks
Peter