New feature: Extend your wiki with embeddable HTML / JavaScript

18 Dec

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 Responses to “New feature: Extend your wiki with embeddable HTML / JavaScript”

  1. Will Norris December 18, 2008 at 3:42 pm #

    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. Stephen Fleming December 18, 2008 at 6:36 pm #

    Oh, yippie-ki-YAY! This is great… thanks for bringing back this functionality! I’ve missed it.

  3. David M. Dickerson December 29, 2008 at 9:24 am #

    Greetings, Ramit! Thank you for sharing these enhancements to PBwiki. I appreciate your efforts and contributions! Cordially — David

  4. JudyNV March 26, 2010 at 4:37 pm #

    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?

    • kristine March 29, 2010 at 11:31 am #

      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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 90 other followers

%d bloggers like this: