Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HTML module not displaying twitter widgetHTML module not displaying twitter widget
Previous
 
Next
New Post
6/14/2011 8:38 AM
 
Hey guys,

For some reason the HTML module is not displaying my twitter update widget when I paste the code in HTML view. It just deletes it when I try to view it in design or just update it.

I tested it in dreamweaver and it works great, but dnn is not doing it... this is the code so please check if u can help me, thanx.

-----------------
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 6000,
  width: 292,
  height: 300,
  theme: {
    shell: {
      background: '#333333',
      color: '#ffffff'
    },
    tweets: {
      background: '#000000',
      color: '#ffffff',
      links: '#07e3eb'
    }
  },
  features: {
    scrollbar: true,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'all'
  }
}).render().setUser('cinemacafe').start();
</script>
-------------------------------------------------------
 
New Post
6/14/2011 4:37 PM
 
Anyone??
 
New Post
6/14/2011 4:45 PM
 
You should check the settings for the Telerik editor - it appears to be cleaning out JS code.

\Providers\HtmlEditorProviders\Telerik\Config\ConfigDefault.xml
 
New Post
6/14/2011 4:49 PM
 
Hi Lance,

This is the content of the file... how do I check if this is the issue?

-------------------------------
<configuration>
<property name="Skin">Vista</property>
<property name="EnableResize">true</property>
<property name="AutoResizeHeight">false</property>
<property name="StripFormattingOnPaste">MSWordRemoveAll</property>
<property name="ContentFilters">DefaultFilters</property>
<!-- EditModes.Design=1 + EditModes.Html=2-->
<property name="EditModes">3</property>
<!-- set to false will insert a <p> tag for carriage returns -->
<property name="NewLineBr">true</property>
<!-- WordIgnoreOptions.WordsWithNumbers=8 WordIgnoreOptions.UPPERCASE=1 -->
<property name="SpellCheckSettings.WordIgnoreOptions">9</property>
<property name="DialogOpener.Window.ReloadOnShow">true</property>
<property name="ImageManager.SearchPatterns">*.gif,*.xbm,*.xpm,*.png,*.ief,*.jpg,*.jpe,*.jpeg,*.tiff,*.tif,*.rgb,*.g3f,*.xwd,*.pict,*.ppm,*.pgm,*.pbm,*.pnm,*.bmp,*.ras,*.pcd,*.cgm,*.mil,*.cal,*.fif,*.dsf,*.cmx,*.wi,*.dwg,*.dxf,*.svf</property>
<property name="ImageManager.EnableImageEditor">true</property>
<!-- 4194304 bytes = 4096 kb = 4 mb -->
<property name="ImageManager.MaxUploadFileSize">4194304</property>
<property name="DocumentManager.SearchPatterns">*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.ppt,*.pptx,*.xml,*.zip</property>
<property name="DocumentManager.MaxUploadFileSize">4194304</property>
<property name="FlashManager.SearchPatterns">*.swf</property>
<property name="FlashManager.MaxUploadFileSize">4194304</property>
<property name="MediaManager.SearchPatterns">*.wma,*.wmv,*.avi,*.wav,*.mpeg,*.mpg,*.mpe,*.mp3,*.m3u,*.mid,*.midi,*.snd,*.mkv</property>
<property name="MediaManager.MaxUploadFileSize">4194304</property>
<property name="SilverlightManager.SearchPatterns">*.xap</property>
<property name="SilverlightManager.MaxUploadFileSize">4194304</property>
<property name="TemplateManager.SearchPatterns">*.htmtemplate,*.htm,*,html</property>
<property name="TemplateManager.MaxUploadFileSize">4194304</property>
</configuration>
---------------------------------------------

Thanx
 
New Post
6/14/2011 5:51 PM
 
Try...

<configuration>
<property name="Skin">Vistaproperty>
<property name="EnableResize">trueproperty>
<property name="AutoResizeHeight">falseproperty>
<property name="AllowScripts">trueproperty>
<property name="StripFormattingOnPaste">MSWordRemoveAllproperty>
<property name="ContentFilters">DefaultFiltersproperty>
<property name="EditModes">3property>
<property name="NewLineBr">falseproperty>
<property name="SpellCheckSettings.WordIgnoreOptions">9property>
<property name="DialogOpener.Window.ReloadOnShow">trueproperty>
<property name="ImageManager.SearchPatterns">*.gif,*.xbm,*.xpm,*.png,*.ief,*.jpg,*.jpe,*.jpeg,*.tiff,*.tif,*.rgb,*.g3f,*.xwd,*.pict,*.ppm,*.pgm,*.pbm,*.pnm,*.bmp,*.ras,*.pcd,*.cgm,*.mil,*.cal,*.fif,*.dsf,*.cmx,*.wi,*.dwg,*.dxf,*.svfproperty>
<property name="ImageManager.EnableImageEditor">trueproperty>
<property name="ImageManager.MaxUploadFileSize">4194304property>
<property name="DocumentManager.SearchPatterns">*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.ppt,*.pptx,*.xml,*.zipproperty>
<property name="DocumentManager.MaxUploadFileSize">4194304property>
<property name="FlashManager.SearchPatterns">*.swfproperty>
<property name="FlashManager.MaxUploadFileSize">4194304property>
<property name="MediaManager.SearchPatterns">*.wma,*.wmv,*.avi,*.wav,*.mpeg,*.mpg,*.mpe,*.mp3,*.m3u,*.mid,*.midi,*.snd,*.mkvproperty>
<property name="MediaManager.MaxUploadFileSize">4194304property>
<property name="SilverlightManager.SearchPatterns">*.xapproperty>
<property name="SilverlightManager.MaxUploadFileSize">4194304property>
<property name="TemplateManager.SearchPatterns">*.htmtemplate,*.htm,*,htmlproperty>
<property name="TemplateManager.MaxUploadFileSize">4194304property>
configuration>

I made two changes:

  1. added AllowScripts as per http://www.telerik.com/help/aspnet-aj...
  2. And NewLineBr = false to create P tags instead of annoying BRs. 
However, I recommend you add the code to the skin, container or module template for better, more manageable results.

EDIT: ConfigDocumented.xml in the same folder has more information on the configuration settings
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HTML module not displaying twitter widgetHTML module not displaying twitter widget


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out