You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- Machform Script breaking when embedding into a Joomla Article
Support is currently Offline
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Please post your question in the Forum and we will get back to you as soon as we can.
I've tried changing every setting that I found in your Forum to stop my Machform embed code from being stripped by JCE Editor Pro. But it's still breaking every time I try embedding it into a Joomla Article. Can you please help figure out how to fix this issue? Thank you! Janel
<div id="mf_placeholder"
data-formurl="https://web-tactics.forms-db.com/embed.php?id=57234"
data-formheight="1027"
data-paddingbottom="10">
</div>
<script>
(function(f,o,r,m){
r=f.createElement('script');r.async=1;r.src=o+'js/mf.js';
m=f.getElementById('mf_placeholder'); m.parentNode.insertBefore(r, m);
})(document,'https://web-tactics.forms-db.com/');
</script>
BECOMES THIS:
<div id="mf_placeholder" data-formurl="https://web-tactics.forms-db.com/embed.php?id=57234" data-formheight="1027" data-paddingbottom="10"> </div>
<p>
<s-cript> (function(f,o,r,m){ r=f.createElement('script');r.async=1;r.src=o+'js/mf.js'; m=f.getElementById('mf_placeholder'); m.parentNode.insertBefore(r, m); })(document,'https://web-tactics.forms-db.com/'); </s-cript> </p>
<div id="mf_placeholder"
data-formurl="https://web-tactics.forms-db.com/embed.php?id=57234"
data-formheight="1027"
data-paddingbottom="10">
</div>
<script>
(function(f,o,r,m){
r=f.createElement('script');r.async=1;r.src=o+'js/mf.js';
m=f.getElementById('mf_placeholder'); m.parentNode.insertBefore(r, m);
})(document,'https://web-tactics.forms-db.com/');
</script>
BECOMES THIS:
<div id="mf_placeholder" data-formurl="https://web-tactics.forms-db.com/embed.php?id=57234" data-formheight="1027" data-paddingbottom="10"> </div>
<p>
<s-cript> (function(f,o,r,m){ r=f.createElement('script');r.async=1;r.src=o+'js/mf.js'; m=f.getElementById('mf_placeholder'); m.parentNode.insertBefore(r, m); })(document,'https://web-tactics.forms-db.com/'); </s-cript> </p>
RSFirewall is altering the script tag. Please see - https://www.rsjoomla.com/support/documentation/rsfirewall-user-guide/frequently-asked-questions/scrambled-tags-iframe-becomes-i-frame.html
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!