+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Adding javascript to pages in Sitefinity 3.7

Adding javascript to pages in Sitefinity 3.7

2 posts, 0 answered
  1. John
    John avatar
    7 posts
    Registered:
    15 Sep 2011
    27 Jan 2012
    Link to this post
    How do you add javascript to pages in Sitefinity 3.7 without individually editing every master page? I have not been able to find a simple answer to this. Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 Jan 2012
    Link to this post
    Hi,

    You can add a custom control on your master pages or pages that will add the js code you want. Another option is using Generic Content control.
    It would not be possible to add js code without editing a master page( template) or a page.

    You can add some code to all pages if you inherit from the base page class - InternalPage, but this depends on results you want to have.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered