Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Mario Campos

  • Content Count

  • Joined

  • Last visited

  • Days Won

  1. I don't disagree with you. Squarespace 6 is trying to streamline each file upload type to be more natural, but in the end you need a guidebook just to find out where to upload everything. Squarespace 5 was folder based which was not as 'cool' but definitely more usable. I consider this method a hack until Squarespace 6 gets updated with a more useful file upload system. I think they can have various 'upload points' but it should all be easy. Folders work well, and we use them for a reason.
  2. I contacted Squarespace Support and they provided a helpful answer, which I expanded open by organizing my scripts onto a single page: Add a new page called 'JavaScript Files' [optional] Go to Page Settings and Disable the page [optional] Add a Text Block Add some text, preferably the name of your JavaScript file, like Sample JavaScript Select the ‘Sample JavaScript’ text and make it into a Link Click Files on the Link menu Click in the white space and select the file from your hard drive (or drag it onto the space from your hard drive) - I’ll use javascriptfile.js for this example Click in the Text Block again, and click on the Link Text – Squarespace automatically displays the URL it points to when you click on it, which should be /s/javascriptfile.js [whatever the name of the file your uploaded is] You can right click and ‘Copy Link Address’ to make sure you have the correct URL Go to your Code Injection (either the Page’s Code Injection or your site-wide Page Injection) and insert the code: <script src="/s/javascriptfile.js"></script> Using the name of the file you just uploaded instead of javascriptfile.js of course. You can keep adding JavaScript files, and it appears Squarespace automatically adds them to a javascriptfile.js directory. No need to link scripts via Dropbox or include the entire script in the Code Injection. You can use this to upload any file as well, but most other things have a place (CSS files and image get uploaded in the CSS Upload File area, etc.). Source: Creating a Text Link
  3. I have a few JavaScript files that I need to upload (such as jQuery Waypoints - among others). Where do these get uploaded?
  • Create New...