More in this section

Forums / Bugs & Issues / can't link external js

can't link external js

2 posts, 0 answered
  1. Anish
    Anish avatar
    1 posts
    21 Jul 2014
    01 Aug 2014
    Link to this post


    i am using 7.0.5100 version of sitefinity, i am new with sitefinity,

    i am not able to link my external javascript files from my local folder, "~/App_Data/Sitefinity/WebsiteTemplates/Test/App_Themes/TestProj/js/", but i tried like this "~/js/" means the js folder i kept just outside of App_Data folder. So it's not compulsory to follow folder structure..? 

  2. Bilyana Ivanova
    Bilyana Ivanova avatar
    34 posts
    15 Jun 2017
    01 Aug 2014
    Link to this post
    Hi Anish,

    You are not required to place your javascript files within the WebsiteTemplates folder. You can keep them in your preferred location.

    For including the references you can use the ResourceLinks widget. This utility widget can also be used for adding jQuery or another built-in library.

    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