For a school's site, I'd like embed this widget code in a page:<br><br><script type="text/javascript" src="<a href="http://widgets1.renlearn.com/content/widgets/reading">http://widgets1.renlearn.com/content/widgets/reading</a> activity/readingactivitywidget.js"></script><script>if (READINGACTIVITYWIDGET) READINGACTIVITYWIDGET.renderWidget('<a href="http://widgets1.renlearn.com/">http://widgets1.renlearn.com/</a>', 'MCPSCX6');</script><noscript>Enable Javascript in your browser to view this content.</noscript><br>
<br>I do have html enabled on the site, and I added "script" and "noscript" to the list of html terms to enable -- in local\config.php I have:<br><br>include_once("$FarmD/cookbook/enablehtml.php");<br>
EnableHtml("a|select|option|form|input|iframe|img|small|object|param|embed|script|noscript");<br><br>Having done that at least results in hiding the lines above when I add them to a page, but it doesn't suffice to display the widget.<br>
<br>Can I add something else to the enablehtml stuff on config.php that will make this work? I don't know from javascript, so I don't know if part of doing this right might be to put some of the widget code in the header of the skin.tmpl file -- but if so, which part, and what goes on the page itself?<br>
<br>Thanks!<br><br>Tegan<br>