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

Search the Community

Showing results for tags 'json-t'.



More search options

  • 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
    • 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 Topics
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Topics
  • 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

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

Found 1 result

  1. Im trying to do some javascript operations on a customType text input. I've got customContent.services like so: service_1:https://link_to_service.one|service_2:https://link_to_service.two I've writtena small js function to split this string and create an array of javascript objects like so: [ { service: service_1, link: https://link_to_service.two }, { service: service_2, link: https://link_to_service.two } ] Now I would like to take this array and render it using json-t (or any other simple method). Problem is, I can't seem to add this to the current context {@} to make it usable with {.repeated section} I've tried stuff along the lines of: {.var @links myJsFuncToCreateObjArray()} {.repeated section links} create links for each object.. {.end} in fact {.var @someKey func()} seem to work at all, and won't let me do {.section someKey}, I can't even get .var directive to work at all - what am I missing, and how can I append my objects to the current json context (@) to make them possible to use in my repeated sections? Very thankful for any help with this.
×
×
  • Create New...