New feature: Extend your wiki with embeddable HTML / JavaScript

You can already easily insert YouTube videos and Google Gadgets into your wiki using the Plugin menu (click Edit >> Insert plugin).

Now, we’ve made it easier to extend your wiki by inserting HTML and JavaScript into your wiki.

Use HTML/JavaScript to add outside widgets to your wiki

Custom HTML/JavaScript allows you (or your admins) to add interactive elements — also known as widgets — to your wiki pages.

Examples:

  • Forms you create from Wufoo
  • Slideshows from Flickr
  • Any other widget with embeddable code!

Included: Security options for administrators

Widgets can sometimes result in unexpected behavior, so we’ve included built-in security for this feature (learn more about PBwiki security).

If “Allow JavaScript and other potentially unsafe code” is checked, only wiki admins will be able to edit the plugin in the future.

When other wiki users edit the plugin, they will not see the checkbox. If potentially unsafe code is detected, a warning will be shown. Potentially unsafe code, such as JavaScript, is automatically removed from the plugin to help keep your wiki safe.

To use the HTML/JavaScript plugin

1. Go into edit mode on your wiki by clicking the “Edit” tab.
2. Click the “Insert Plugin” button
3. Choose “PBwiki Magic”
4. And then choose “HTML/JavaScript”
5. Type in your code
6. If you’re a wiki administrator and want to include JavaScript (“script”) or CSS (“style”), check “Allow JavaScript and other potentially unsafe code”
7. Click “Preview,” then “OK,” and now “Save” your wiki page.

And if you have any questions, please check out the PBwiki Manual on Custom HTML / Javascript.

5 thoughts on “New feature: Extend your wiki with embeddable HTML / JavaScript

  1. Looks like the New Features category is getting a bit neglected. 😦 I spy quite a few posts about new features in the last couple of months that didn’t make it into that category. That’s especially important because the “new features” email that was sent out today links to the category page, in which the most recent post is from Sept.

  2. I can’t get the HTML/JavaScript plug-in to accept the code for a flickr slide show. The same code I’m trying to use here will work on my Blogger page. I insert the code in the box and click Next. A message SAYS loading but I don’t believe it – nothing happens until I finally give up (after a half hour) and press Cancel. It doesn’t matter if I check the box to Allow JavaScript or not. Same results. Nothing.

    Can anyone get their flickr slide shows to run on PBworks? I am administrator for this wiki. Is there some setting that I haven’t found to enable the use of a HTML/Scripts plugin?

    1. Hi Judy,

      The best way to get help is to contact our support team. Click on the ‘help’ link located at the top right of your workspace. I will send this question to our team, and someone will contact you soon.

      Thanks!
      Kristine

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.