Embed Code in Collection pages

Hello

I’m building a site and want to add an external calendar to each of my collection pages. The calendars are embedded using a small piece of code. However, whenever i try to do it using the following steps, its not working :slight_smile:

  1. Add a text field in the collection that holds the src
  2. add an embedded element to the collection list
  3. open it, click on “add field” and select “src”
  4. do this:

you can find screen shots of both the embed code on the CMS collection page and the plain text in the CMS itself

Any idea of what I’m doing wrong?

Thank you.

Answered your previous post. It’s not helpful to post the same question in multiple topics. Clutters up the forum.

Webflow encodes the value of embeds from a collection field. So you either need to decode the encoded text or you can create a RTF and insert all the code (including script tags) into the code embed insert available where it will be rendered as entered.

Dear Jeff,

Thanks for your reply but can you please explain more as i did not quite get it

if you have an example /screen shots to share with us, that would be really helpful

Here is the “or” method. Note you can’t insert values from other fields in the RTF embed. That would only be viable in the decode method.


Here is a link to a read only share

https://preview.webflow.com/preview/cms-with-dynamic-js-values-on-page?utm_medium=preview_link&utm_source=designer&utm_content=cms-with-dynamic-js-values-on-page&preview=b2b44c24eb19f934d7926471af0eecd5&pageId=5f832e9752384d2f1afe1f27&itemId=5f832e995c54f69963a9987e&mode=preview

If you want to decode instead I wrote that up here.

1 Like

What can i say? you are awesome, thank you a ton… it works now !!

:wilted_flower:

1 Like

Loved it. Going to implement the tactics.

Thanks,
Surendra Dhote
Proche & Makers Now