InMotion Hosting Support Center

DokuWiki, like most wiki software, does not allow certain HTML code to be placed inside the website. This is because wiki's are designed to be open for all to edit and contribute to. Common hacks are done by using code in a site to compromise the software security. To get an iframe to work in your DokuWIki site, you will need to install a plugin for the iframe to work. This article will explain how to insert an iframe into your DokuWiki using the iframe plugin.

Setting up the iframe plugin

  1. Log into DokuWiki.
  2. Go to the following URL and get the URL for your iframe plugin.

    You should have a URL like the following.

    Important! Plugins can change versions over time. If the above URL does not work, make sure you visit the plugin site to get the newest version of the plugin.

    If you do not know how to install a plugin, please visit the tutorial on Installing plugins in DokuWiki.

  3. Allow javascript in iframe DokuWikiOnce you have the plugin installed, Go to Admin > Configuration Settings and configure the iframe plugin.

    Select "Allow JavaScript urls" and save the changes.

    Note! You want to allow Javascript urls to prevent issues in the future if you use a JavaScript URL. Otherwise the iframe will not display the JavaScript link.

  4. Insert iframe code DokuWikiNow you will need to place the iframe code in your wiki page. The following is the code you use to insert an iframe into your DokuWiki site.

    iframe syntax:


    iframe Syntax with attributes:

    {{url> width,height noscroll noborder alignment|alt-text}}

    Example usage:

    {{url> 400px,200px noscroll noborder left|This is my iframe to w3schools}}

    View of iframe in DokuWikiAfter you save the changes you should see your iframe load the site in your wiki page.

Was this article helpful?
You are viewing Section 2: Inserting an iframe with the iframe plugin in DokuWiki
Section 1: Installing plugins in DokuWiki
Section 3: Adding the S5 Presentation slide show plugin to DokuWiki

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!