Hi Sheetal,
You can turn on the Source button in FCKEditor, which should provide most of
what you want. Unfortunately, I think the escaping is still slightly broken, so
when you start pasting in complex stuff (like SCRIPT tags), things get a little
wonky.
We also have a RAW XHTML paragraph that we've created for our installation
which just has a single plain text field (no FCK) that people can put whatever
they like in and have it spat out verbatim into the page. Heres' the
interesting bit from our code:
<cms:adminOnly>
<div class="txst-destroyer-alert txst-destroyer-notice">This is a RAW XHTML
paragraph which may contain hidden content.</div>
</cms:adminOnly>
<div>
<cms:out nodeDataName="text" lineBreak=""/>
</div>
Sean
On 9/9/09 9:59 AM, "Sheetal Thaker" <[email protected]> wrote:
is there a way in Magnolia CE to allow my users to add source code to
their pages???
So far I have used the fckEdit controlType so they can add text, but I
would like to also create a page which allows them to copy and paste
basic html tags to their web pages... I know this feature is available
in Magnolia Enterprise, but would like to find a way for this in CE..
Any ideas?
Thanks
Sheetal
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------