Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): 3.x Pre-release forums (retired) > Strips JS
  • Matt Shepherd avatar

    Posted on Mar 29, 2007 (permalink)

    When adding inline js code to the Generic Text area, (to include a flash file without the "click to activate" issue) the code is stipped on saving. 

    Any ideas?
    Cheers

    Reply

  • hibri avatar

    Posted on Mar 30, 2007 (permalink)

    In your Admin/Common/Configuration/ContentConfigFile.xml

    Set the following
    <property name="AllowScripts">true</property>

    Reply

  • rmp avatar

    Posted on Jul 16, 2007 (permalink)

    where is this ContentConfigFile.xml?

    I'm having a similar problem - sitefinity is stripping out an <embed /> tag that I need for a flash object to display in FireFox.

    Any suggestions?
    Thanks.

    Reply

  • Pepi Pepi admin's avatar

    Posted on Jul 17, 2007 (permalink)

    Hello Mark,

    In the new versions of Sitefinity the ContentConfigFile.xml file is not used anymore. You can allow script tags in the RadEditor content from ~/Sitefinity/Admin/ControlTemplates/EditorConfigFile.xml. You should set the following:

    <property name="AllowScripts">true</property>

    Hope this helps. Don't hesitate to ask if there is some misunderstanding.

    Greetings,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • rmp avatar

    Posted on Jul 17, 2007 (permalink)

    Hi Pepi,

    I tried changing allowscripts to true in that xml file and I'm still having the same problem. When I put an <embed /> element inside of an <object></object> element on a generic content area, it gets stripped out.

    Reply

  • Pepi Pepi admin's avatar

    Posted on Jul 18, 2007 (permalink)

    Hi Mark,

    Could you please give us the following details to specify the problem:

    1. Exact browser version.
    2. Exact RadEditor version.
    3. Steps to reproduce the problem.
    4. End result.
    5. Describe what is wrong with the result.

    Also, I would recommend that you use the RadEditor Flash manager dialog. It inserts flash files in the editor's content area and uploads new flash files, which will be available for inserting.

    Thanks for your cooperation in advance.

    Best wishes,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Posted on Jul 27, 2010 (permalink)

    Dear Sir,

       i am using sitefinity 3.7 but i cannot file the file 
       ~/Sitefinity/Admin/ControlTemplates/EditorConfigFile.xml.


    ????

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Jul 27, 2010 (permalink)

    Hello Ahmed Salman,

    In versions after Sitefinity 3.6 the file is ~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): 3.x Pre-release forums (retired) > Strips JS