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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...java script and rich text... help?!?!?! (newbie here)java script and rich text... help?!?!?! (newbie here)
Previous
 
Next
New Post
11/21/2006 9:16 PM
 

Hello all,

I am very new to DNN and our web developer has built a site around DNN 4.x for me.  We have a monthly online magazine in which I need to present flash (.flv) videos.  I currently use the Tererik RAD editor in rich text mode to lay out the articles.  I have a great flash player that is supposed to be easily embedded using java script calls... for example:

<script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','482','height','557','id','Zoom','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','/portals/0/zoom/Zoom_Playlist','bgcolor','#000000','menu','false','FlashVars',"playlist=http://dnnultimate.emboldendesign.com/portals/0/zoom/streaming.xml&fullscreen=http://dnnultimate.emboldendesign.com/portals/0/zoom/Fullscreen.swf" ); //end AC code </script>

Now this worked just fine on our old static html website.  And it works fine in DNN provided that I enter into the editor in basic raw text mode.  But it just will not "take" in Rich Text mode.  That presents a big problem as I need this to insert into the rest of the magazine articles which are laid out with Rich Text mode.

So..........  could someone please give me more detail on why DNN requires Basic Text entry for javascript like this?  What kind of workarounds are there (gotta be other people who find this to be a big problem, no)?  Where should I even be looking for answers (maybe which forum here is most appropriate)?  Would switching to a different editor like FCKeditor solve the issue or is it more a core DNN issue?

Thanks for all the help!  Just frustrated, lost, and eager to learn the real story...

Best,
Jeff

 
New Post
11/22/2006 5:01 AM
 

FCKEditor comes with a special option to insert flash.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/22/2006 8:01 AM
 

Interesting, thanks for the fast response!  The flash player I'm referencing has some unique controls and options that I had an oustide developer create for me.  I also have a couple of other javascript based objects I'd like to drop in... so, my question remains:  Is there a way to include java script through a Rich Text editor with DNN?

Thanks,

Jeff

 
New Post
11/22/2006 11:11 AM
 

 

To put Javascript into a module.  Go to the Module Settings > Advanced > Header , and paste your code in there.

This field will be output directly above the module and does not have the problem of the designer of a Rich Text editor mangling your javascript.


DotNetNuke Modules from Snapsis.com
 
New Post
11/22/2006 12:06 PM
 

Interesting, that works!  A bit cumbersome, though.  If I want to put "stuff" above and below the javascript, I'll need to manually cut and paste it's html above and below.... sort of defeats the purpose of my nice "wyswyg"!  Do all Editors behave this way with DNN (we use the r.a.d.editor now)?  Do any of them not "mangle" javascript?

 

Thanks!

Jeff

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...java script and rich text... help?!?!?! (newbie here)java script and rich text... help?!?!?! (newbie here)


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