[pmwiki-users] should enabling html also enable js?
Tegan Dowling
tmdowling at gmail.com
Mon Jul 30 19:32:19 CDT 2007
On 7/30/07, Tegan Dowling <tmdowling at gmail.com> wrote:
>
> In my cookbook directory, I have the enablehtml recipe from
> http://www.pmichaud.com/wiki/Cookbook/EnableHTML.
>
> In local/ I have a file GroupName.PageName.php which contains
>
> <?php if (!defined('PmWiki')) exit();
>
> // Enable HTML
> include_once('cookbook/enablehtml.php');
> EnableHtml('a|script');
>
> On the page itself, I have the following (except with a real event ID number):
>
> <script type="text/javascript">
> eventbrite_event = "EventIDHere";
> eventbrite_view = "full";
> eventbrite_width = "80%";
> eventbrite_height = "1500";
> </script>
> <script type="text/javascript" src="http://www.eventbrite.com/js/events.js">
> </script>
> <a href="http://www.eventbrite.com/">Online Event Registration</a> -
> <a href="http://www.eventbrite.com/">Powered by www.eventbrite.com</a>
>
> None of the javascript stuff appears on the saved page. The links
> come through fine, as usual when html is enabled.
Javascript works in the skin template; could I put something in a
GroupName.PageName.tmpl or GroupName.PageName.css file that would
help? Or even create a GroupName.PageName.html file that would get
included? Somehow?
More information about the pmwiki-users
mailing list