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

Search the Community

Showing results for tags 'json'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Selling & Scheduling Your Services
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers 🇫🇷's Topics
  • France Designers 🇫🇷's Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion
  • German Circle Members's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges


Expert ID

  1. Site URL: https://vincentgarreau.com/particles.js/#snow Hello, the following code works for a cool snow effect in 7.0 but not 7.1. Does anyone know how to make it work for 7.1? I'm trying to have this on the first section of my home page. For reference, the code can be found here (click on "download current config (json)" to access the code file): https://vincentgarreau.com/particles.js/#snow And the walkthrough instructions can be found here: https://www.minimist.ca/articles/particlesjs-on-squarespace It works on 7.0 but not on 7.1. What is needed to make it work on 7.1? <script src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script> <script> document.addEventListener('DOMContentLoaded', function() { particlesJS("home", particlesJSConfig); setTimeout(function() { window.dispatchEvent(new Event('resize')); }, 100); }); </script> <style> .particles-js-canvas-el { position: absolute; top:0; left: 0; width: 100%; height: 100%; z-index: 1; } </style> <script> var particlesJSConfig = { "particles": { "number": { "value": 400, "density": { "enable": true, "value_area": 800 } }, "color": { "value": "#fff" }, "shape": { "type": "circle", "stroke": { "width": 0, "color": "#000000" }, "polygon": { "nb_sides": 5 }, "image": { "src": "img/github.svg", "width": 100, "height": 100 } }, "opacity": { "value": 0.5, "random": true, "anim": { "enable": false, "speed": 1, "opacity_min": 0.1, "sync": false } }, "size": { "value": 10, "random": true, "anim": { "enable": false, "speed": 40, "size_min": 0.1, "sync": false } }, "line_linked": { "enable": false, "distance": 500, "color": "#ffffff", "opacity": 0.4, "width": 2 }, "move": { "enable": true, "speed": 6, "direction": "bottom", "random": false, "straight": false, "out_mode": "out", "bounce": false, "attract": { "enable": false, "rotateX": 600, "rotateY": 1200 } } }, "interactivity": { "detect_on": "canvas", "events": { "onhover": { "enable": true, "mode": "bubble" }, "onclick": { "enable": true, "mode": "repulse" }, "resize": true }, "modes": { "grab": { "distance": 400, "line_linked": { "opacity": 0.5 } }, "bubble": { "distance": 400, "size": 4, "duration": 0.3, "opacity": 1, "speed": 3 }, "repulse": { "distance": 200, "duration": 0.4 }, "push": { "particles_nb": 4 }, "remove": { "particles_nb": 2 } } }, "retina_detect": true } </script> Kind regards, John
  2. Is there a way to get ALL items from a collection (blog, portfolio, etc) with json? When I'm trying to add "?format=json-pretty" to the collection page, it only shows first 20 items and next page offset. Ideally I'd like to somehow access all items at once, rather than doing several queries for 20 items each. Is that possible at all?
  3. Site URL: http://scunci.com/ Hi everyone, When I add ?format=json after page url on collection item page I see item object but when I in template try get item data that not exist , instead of him I see items, why ? please help Thanks.
  4. Site URL: https://www.rosaparkselementary.org/ I need a custom code solution so that donation receipts have the donor's address included in the body of the email. Right now, Squarespace doesn't provide a JSON variable for donor's address.
  5. Site URL: https://www.streetartflekkefjord.no/gatekunst/terje-andersen?format=json-pretty Hi I'm making a PWA and I'd like to fetch some Json content from this webpage https://www.streetartflekkefjord.no/gatekunst/terje-andersen?format=json-pretty as you can see the Json file is there but there's not "content", normally on other webpages made with squarespace I can find the content on the Json file within "mainContent" but not on this particular one, can anybody tell me what's missing, is there any anything I can do to make it appear or has anybody experienced the same thing? (I have access to the backbone "editor" so if there's any setting that needs to be changed I can try it) In advance thanks
  6. Site URL: https://www.europeanchampionships.com/ We have an animated logo in lottie, which when adding the appropriate js code, works fine within a block on a given page. We however would like to use same the lottie animation in the site logo area. Can this be done ?
  7. Site URL: https://www.zendogvet.net/ Hello All, i have one issue regarding my ritch meta on website: https://search.google.com/test/rich-results?id=RaChXNwF7Cq2Q9ru1RuivA as you can see i have 2 sets ritch data, first that is valid (green) it is coming from manually inserted snippet in header area. But this below with missing "name" that is making error to google console i cant find and i don't know from where it comes in website. To be more clear i attached image exactly to see what is problem and you can check on google rich results test. Thanks i appreciate any help with this 🙂
  8. Hi, I'm trying find if there is a way to replace the default hamburger with an animated JSON file or Lottie file that I designed. Does anyone know if this is a possibility using square space? Thanks
  9. Site URL: https://www.lmfit.uk Hello! I have a client who sells two products in her shop. For one of them, she wants to send an order confirmation with a bunch of extra resources in it. Can we do this using an {if has.DigitalProduct='IDIDIDID'} type thing? If not, what's the best way to achieve this. She's got ConvertKit but she's reluctant to pay for it.
  10. Site URL: https://itsbrandond.com Hey everyone! Quick question: Launching my personal portfolio website on 7.1 and just needed the personal plan. Totally understand that there are no custom code blocks or injection on this plan, but didn't occur to me I wouldn't be able to implement JSON Schema markup into my site. Fully realize 7.1 sees it as Javascript, but this is kinda critical for SEO for many reasons. Does anyone know a way around this? How can I implement my JSON Schema markup on a 7.1 personal plan? Big picture, I feel this could be implemented in the 7.1 backend by adding an "advanced" section to the marketing menu area where you can choose various Schema options such as @Type and image assets different than the ones Squarespace chooses. Would be an incredibly powerful option for folks on the personal plan and you wouldn't need to add Code Injection capabilities. A great resource to see how it should be implemented is on this page. Thanks everyone!
  11. Site URL: http://lrcss.com How can I add a donors address into a donation notification message? I'm attempting to use the donation notification as an official tax receipt for donors and one of the things I am required to include is their address. I know we collect that when they complete the donation transaction so I assume I can pull it into the email using a JSON variable I'm just not sure which one? Thanks for helping me out!
  12. Site URL: https://lume.energy Hi! I I have tried to add a lottie file via script/JSON to my Squarespace page. However when I try to add code/JS to a block and choose Javascript something wierd happens. I cannot in any way shape or form get SS to show the actual file or run the script. Iv tried support but they dont help and refer me to forum:(. Please if anyone has done this and knows what to do please help. Iv added it in the way they recommend Editor https://d.pr/free/i/OpNNK0 Example on page > https://d.pr/free/i/TQjQRO <script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script> <lottie-player src="https://lumebackground.s3.eu-north-1.amazonaws.com/Animation.json" background="transparent" speed="1" style="width: 300px; height: 300px;" loop controls autoplay></lottie-player> Appreciate all help I can get. Thanks
  13. Hi Everyone: I'm working on a project and I would like to be able to bridge the gap between a Squarespace site and a custom app I am developing. In the simplest terms, I want to be able to capture form data from a Squarespace form and render it as JSON to use in my custom app. I've looked into options like Zapier and n8n.io, but I don't have the budget to use third party services, nor do I want to rely on them to parse my data. Does anyone know of any way to capture form data from a Squarespace form and convert it to JSON to use in a custom app for free? Any advice is greatly appreciated. Thank you, Daniel
  14. Site URL: http://www.lrpaperairplane.com I'm new to this and am trying to understand how to inset a JSON variable into an order confirmation email. I've read the link on squarespace, but it just doesn't make sense to me how to do this. Specifically, I have three digital products I would like sell. I need the email to have the digital link as well as the password to the page on the website. Background: I'm trying to do it this way because one of the digital files is too big to be uploaded, even compressed, to squarespace under the digital product page. How do I customize this? TIA!!
  15. Site URL: https://www.goodbeerhunting.com I'm getting the error Refused to execute script from 'https://www.goodbeerhunting.com/dynamic/1234kdjeld?format=json&callback=jQuery1111035353247486359707_1594910433540&_=1594910433541' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled. I'm not sure what changed or why the MIME type is no longer executable. Anyone else having this type of issue? My code in the js file looks like this: $.getJSON('//goodbeerhunting.com/dynamic/1234kdjeld?format=json&callback=?', function(data) { children.forEach(function(item){ var content = $(data.mainContent).find('.' + item); $('.ddd-' + item).replaceWith(content); }); }); I tried adding this: $.ajaxSetup({ scriptCharset: "utf-8", contentType: "application/json; charset=utf-8" }); And that made the error message go away, but it didn't fix the issue and allow the correct info to display on the page. Any help is appreciated.
  16. Site URL: https://pharaohsdreammuseum.com So I wanted to import reviews from my etsy shop to add to my shop page. I was able to download the data and it came in JSON file. However, trying to import this into Squarepace has proven to be a nightmare. Does anyone know how to do this??
  17. A friend sent me his style pack so I could see what he was doing in his Wells setup, and I have no idea how to use it. He said I can load it right in Site Styles >> scroll to bottom and there is an import option. However, I don't see it there. Does it require some special access? Thanks, Russell
  18. Hi In the Order Email message window, I'm hoping to add a line so if someone has selected the local pick-up option ($0.00 shipping), then our address is added to the email. We don't want the address to be added if normal shipping has been paid for. Is there a .if statement that could be used? Would it include shippingOptions or something else? Thank you
  19. Site URL: https://whitecalmvirtual.squarespace.com/ Can JSON API integration work with SS? https://api-docs.disciplemedia.com/#customer-sso { "users": [ { "id": 9, "email": "oberbrunner1wesmr@kleinratke.io", "display_name": "Mr. Wes Oberbrunner1", "last_active_at": "2019-02-26T12:59:27.887173Z", "created_at": "2019-02-26T12:59:27.886013Z", "last_platform": "ios", "avatar": { "url": "https://disciple-development.s3.eu-west-1.amazonaws.com/test/test1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJMMN5US3EENR4M7A%2F20190226%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20190226T125956Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=ec8420c453fb6b2fcdc915db63711547c74ba02e5821b298895bca9b76730b09" }, "country": "US", "member_sso_id": "34ce0901716709580fa5" } ] }
  20. Site URL: https://www.maestros-online.com Hi all, Very new to web design so apologies if this is a basic question. I'm looking to have my site display currencies in plain text on the home page. For now, I just want to be able to fetch the visitor IP and produce a symbol based on the location. IP Stack has a free API that I can use, and looking through the documentation, I assume I need to inject this code into the header script to log in and fetch the Symbol variable: <script> // set endpoint and your access key var ip = '134.201.250.155' var access_key = 'APIKEY'; // get the API result via jQuery.ajax $.ajax({ url: 'http://api.ipstack.com/' + ip + '?access_key=' + access_key, dataType: 'jsonp', success: function(json) { // output the "symbol" object inside "currency" alert(json.currency.symbol); } }); </script> So I have an alert - json.currency.symbol, but how would I then print this in the text? I assume I need to create a source code block, and then do something like: <script> var output = document.getelementbyID('output'); output.innerHTML= json.currency.symbol; </script> Am I anyway near on this? Thanks for the help
  21. Hello, I'm trying to insert a JSON variable into my emails to confirm an order has been placed. I'd like the email to specify an order can be picked up in-store two days from now, and give that specific date. Is this possible? Thank you so much!
  22. Hi all! I was wondering how it would be possible to implement a button onto my website which I can click to get a light/dark mode activated- simply changing the background to dark and its components such as the navigation bar etc.. Hopefully you could help me out! Thank you in advance!
  23. Hello! Doing speed tests to my website I've observed that it takes so many time to load fonts that I don't actually use. I tired to remove them manually but I don't manage to do so. Another way is to use this tool https://cheers-studios.com/squarespace-font-optimizer but I can't use it since just circle members have access to the json style pack file. Anyone knows another way I can change all the used fonts on my website for just one? Thanks in advance,
  24. Site URL: https://jolsonweddings.com/ Is it possible to still export out your Style Pack? I'm hoping to use a tool like https://cheers-studios.com/squarespace-font-optimizer to replace all the fonts on my site and stop Squarespace from loading in fonts I don't use. Does anyone know how to Export Style Pack/Import Style Pack?
  25. I am looking to customize an order email - specifically order confirmed & fulfilled, based on which product my customer has purchased. I have a client who is selling a subscription based package. Once the customer orders, they are to receive an email with a link to an instructional video on how to use the package. I am hoping that I can save her a step in having to manually email her customers this link by being able to add the link directly to the order confirmed and order fulfilled email. Something like: {.if hasPhysicalProductId=xxxxx} You will find your instructional video tutorial for {ProductName} here: www.linktopagewithvideo.com {.end} {.if hasPhysicalProductId=ccccc} You will find your instructional video tutorial for {ProductName} here: www.linktopagewithvideo.com {.end} There is obviously the chance that someone could buy multiple products so I need to be able to repeat the statement multiple times and would prefer to put the product name within the sentence so they know which link is specific to which product. Any help would be very appreciated! Thanks, Kaila
×
×
  • Create New...