However, my code is escaping and displaying everything including the tags.
Is someone, perhaps @nate himself if he’s feeling generous, can take a quick look and see if there’s something i’m doing incorrectly please? I can’t understand why it’s behaving differently.
Did you try wrapping it in an iframe? I can’t see the result in the published site. But you have to wrap the code in tags.
< script>
< style>
< iframe >
Apologies, i’ve updated the post with the published page link.
In the example i was following he was not using an iframe. However, the real code the client will supply will likely be in an iframe so it may solve it.
But i’d like to know why my page has a different result to the one I followed.
Basically, you want to create your Collection with fields for each element of the embed that might change from item to item. So for the Collection I created, I made a link field for the href, another link field for the source, then another for the alt tag. (You could add more if you wanted to vary other elements across items). Then, on your Collection page, select the corresponding bits of the code (the href, src, and alt tag) and replace them with field references.
The embed code also had a closing span tag, but no opener, so I added that too.
The code that will be using will be an embedded form. The client will need to copy and paste the code into the field then I was hoping the HTML Embed component will render it on the site just like the example i followed.
Could you possibly share your working code? I’m struggling to get it to work, myself. On my published site, the embed simply vanishes. Super thanks in advance!
Hi Everyone! I’m trying to figure out the code for an embed CMS item to display each Items user dashboard.
For now the (src=“+ Field”) points to a google docs link in the items field which auto updates when a user signs up for an account. The google docs will display when the site is updated, but it only shows documents for the first user (item). Is there a code i could use to display the documents to it’s individual user (item) when they log in? Hopefully this makes sense…