I thought I had posted this message yesterday, but can't see it on the forum.
I'm having a bit of a problem with Umbraco V6. I want to embed a Survey Monkey on to a page on our website but anytime I copy and paste the code into the HTML viewer and update, nothing happens. It also won't work with Twitter widgets, but does work with YouTube videos.
Have you already checked the tinyMceConfig.config file for allowed tags? Not sure if it's the same for v6, but in v7 it's located in the config/ folder.
There is a section <validElements>...</validElements> (and <invalidElements>) where you can allow/disallow certain HTML tags in your editor.
If a tag is not allowed, it will get removed automatically on save - and I guess that's what happens in your case.
Embedding widgets can be fiddly, always try to use the HTML source view on a rich text editor and paste in only the HTML that you know you need to make it work.
If all else fails, make a separate document template and put the code in there - its easier to test that way too. When you have it working, add it back in a more generic fashion to keep things reusable and maintainable.
Umbraco and HTML
Hi,
I thought I had posted this message yesterday, but can't see it on the forum.
I'm having a bit of a problem with Umbraco V6. I want to embed a Survey Monkey on to a page on our website but anytime I copy and paste the code into the HTML viewer and update, nothing happens. It also won't work with Twitter widgets, but does work with YouTube videos.
Does anybody have any ideas how to resolve this?
Thanks in advance,
Drew
Have you already checked the
tinyMceConfig.config
file for allowed tags? Not sure if it's the same for v6, but in v7 it's located in theconfig/
folder. There is a section<validElements>...</validElements>
(and<invalidElements>
) where you can allow/disallow certain HTML tags in your editor. If a tag is not allowed, it will get removed automatically on save - and I guess that's what happens in your case.Embedding widgets can be fiddly, always try to use the HTML source view on a rich text editor and paste in only the HTML that you know you need to make it work.
If all else fails, make a separate document template and put the code in there - its easier to test that way too. When you have it working, add it back in a more generic fashion to keep things reusable and maintainable.
is working on a reply...