More in this section

Forums / Bugs & Issues / Page head section question

Page head section question

2 posts, 0 answered
  1. Qian
    Qian avatar
    6 posts
    26 May 2011
    25 Sep 2014
    Link to this post

    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="//"></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?



  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    21 Jan 2015
    30 Sep 2014
    Link to this post
    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.

    Vassil Vassilev
    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
2 posts, 0 answered