Page head section question

Posted by Community Admin on 04-Aug-2018 19:51

Page head section question

All Replies

Posted by Community Admin on 25-Sep-2014 00:00

We are using Sitefinity 4.3 with different master pages. In master page <head> section we load a javascript from url, like:

<script type="text/javascript" src="//abc.com/xxxc/Bootstrap.js"></script>  -- in Master page

It looks like Sitefinity injects the following to <head> section of pages after the javascript line

<meta name="Generator" content="Sitefinity 4.3.1885.0 PE" /><link href="/Sitefinity/WebsiteTemplates/xyz/default.css" type="text/css" rel="stylesheet" /><title>
Education Home
</title><meta name="description" content="xyz" /><meta name="keywords" content="some keywords" />

The issue is that we want the javascript line to be the last one in order for it to be executed correctly.

I would like to know how those tags are injected to each page, is this something we can configure to inject those tags before master page <head> section?

 

Thanks!

Posted by Community Admin on 30-Sep-2014 00:00

Hello Qian,

I could advise you to add a Javascript embedded widget in your page template and set it to include your script before the closing body tag.

Hope this helps.

Regards,
Vassil Vassilev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed