Page 1 of 1
[SOLVED] html being dropped??
Posted: Fri Apr 03, 2009 9:22 am
by thintech
hi,
when i use tags they get dropped when the user logs in and makes changes to the page??
also does it with flash embed code??
anyone know how to stop it from doing this as every time client logs in to change something he is on the phone to me to re-write the code?? which of course makes it completely useless being content managed as i still have to work on it!
thanks
Re: html being dropped??
Posted: Fri Apr 03, 2009 11:02 am
by Ted
Best practice is to put things like iframes, flash, javascript blocks, etc into global content blocks. That way they only have one {tag} they can potentially mess up instead of a whole block of code. The farther the really important code bits are from the client, the better.
See
http://wiki.cmsmadesimple.org/index.php ... ent_Blocks for a so-so description of what they're for.

Re: html being dropped??
Posted: Fri Apr 03, 2009 11:14 am
by RonnyK
Personallly, I use GCBs for that as well... And in addition I allways set the GlobalSettings to NOT allow a wysiwyg on GCBs. That way logic in iframes/paypal/youtube etc.... doesnt get modified by the wysiwyg. The GCB can then be called in the page or template.
Ronny
Re: html being dropped??
Posted: Fri Apr 03, 2009 12:03 pm
by NaN
Another way to integrate iframes without disabling the wysiwyg-editor is using the {embed}-tag.
Re: html being dropped??
Posted: Fri Apr 03, 2009 2:20 pm
by thintech
Ted wrote:
Best practice is to put things like iframes, flash, javascript blocks, etc into global content blocks. That way they only have one {tag} they can potentially mess up instead of a whole block of code. The farther the really important code bits are from the client, the better.
See
http://wiki.cmsmadesimple.org/index.php ... ent_Blocks for a so-so description of what they're for.
Brilliant works a treat....thank you
Re: html being dropped?? [Solved]
Posted: Fri Apr 03, 2009 2:22 pm
by thintech
Solved...Thanks
Any comments welcome....
http://www.dat1.co.uk
(Still under construction)