Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

cant use html widgets with the editor?

Last post 01-20-2012, 1:20 PM by flyryde. 4 replies.
Sort Posts: Previous Next
  •  01-14-2012, 10:38 PM 72696

    cant use html widgets with the editor?

    I use flickr for my portfolio of work www.flickr.com/flyryde/sets

    I have a widget that can display a specific "set" from flickr, and it generates html to add to my webpage. On static pages it works great, but i want to just drop it in my members section that uses the cuteeditor.net and it simply ignores the html i add to the editor. When i save the listing, all that is left is a couple words in html, no code?

    I know i can post code from youtube and it accepts and saves it, so i didnt think it my database settings. Does this seem like something i need to change in the editor to accept and display the widget html, or is it a setting in my SQL database or something else?

    This is what i have right now on my site, and it just takes up too much room with all the vertical scrolling:

    http://www.flyryde.com/Member_Rides/Jays%20Hyundai%20Genesis%20Coupe.aspx

    That page is dynamic, and the content is generated through cuteeditor.net and here is a static page that i have the widget hardcoded in, and i like the feel of this MUCH better for my site, i just need it to work in the dynamic generated pages:

    http://www.flyryde.com/others/customlights.aspx

    Any help? Thanks!

    Chris.
  •  01-16-2012, 6:19 AM 72704 in reply to 72696

    Re: cant use html widgets with the editor?

    Hi flyryde,
     
    Can you show me what html code you added into editor? Do you mean editor remove the html code what you set in it?
     
    Regards,
     
    Ken
  •  01-20-2012, 1:55 AM 72754 in reply to 72704

    Re: cant use html widgets with the editor?

    Here's some example HTML:
     
    <div id="PictoBrowser120119234855">Get the flash player here: http://www.adobe.com/flashplayer</div><script type="text/javascript" src="http://www.db798.com/pictobrowser/swfobject.js"></script><script type="text/javascript"> var so = new SWFObject("http://www.db798.com/pictobrowser.swf", "PictoBrowser", "640", "500", "8", "#444444"); so.addVariable("source", "sets"); so.addVariable("names", "Jay's Hyundai Genesis Coupe Bi-Xenon Dual Projector Headlights"); so.addVariable("userName", "flyryde"); so.addVariable("userId", "46668569@N07"); so.addVariable("ids", "72157627977907201"); so.addVariable("titles", "on"); so.addVariable("displayNotes", "on"); so.addVariable("thumbAutoHide", "off"); so.addVariable("imageSize", "medium"); so.addVariable("vAlign", "mid"); so.addVariable("vertOffset", "0"); so.addVariable("colorHexVar", "444444"); so.addVariable("initialScale", "off"); so.addVariable("bgAlpha", "8"); so.write("PictoBrowser120119234855"); </script>
     
    I pasted this into SQL Server in the description cell for this database row, and the gallery shows up perfectly on my site, however, when I go into my admin section where I have CE instead of the standard textbox, it shows this message:
     
    Get the flash player here: http://www.adobe.com/flashplayer
    <!-- Inject Script Filtered --><!-- Inject Script Filtered -->  
     
    So something inside of cute editor needs to be turned off, so that the "injected script" may do its job, instead of being edited out.  This section of the website is only accessible to administrators, so no harmful script will be used (which is why i'm guess the script is disabled from saving to the database currently?). 
  •  01-20-2012, 5:58 AM 72757 in reply to 72754

    Re: cant use html widgets with the editor?

    Hi flyryde,
     
    Please set EnableStripScriptTags to false to enable the <script>
     
         <CE:Editor ID="Editor1" runat="server" EnableStripScriptTags="false">
            </CE:Editor>
     
    Regards,
     
    Ken 
  •  01-20-2012, 1:20 PM 72771 in reply to 72757

    Re: cant use html widgets with the editor?

    Perfect!  Fixed it :)
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.