No error, no wanted results

Jan 3, 2012 at 6:14 AM


I'm trying to make this works:

then I saved it as Li.js file, then call it like this from content of HTML module:

<object id="MyID007x" codetype="dotnetnuke/client" codebase="WillStrohl.Widgets.IncludeScript" declare="declare">
     <param name="file" value="/Resources/Widgets/User/WillStrohl/js/Li.js" /> 
     <param name="debug" value="false" /> 

... but nothing happens. What else do I need or miss? TIA

maybe should I use "Content Injection Module for DotNetNuke"?

Jan 3, 2012 at 5:31 PM

You could use either solution.  Have you tried viewing the site using a debugger like Developer Tools or Firebug to see if the script is actually included?  This will tell you everything.  Also, be sure that you have uploaded your script to the same place mentioned in the widget.  In this case, it appears that you've uploaded the file to the widget suite directory.  That's okay, but not a best practice.  I'd suggest putting it into the appropriate Portals directory instead.