DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:iframe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:iframe [2015-08-22 15:34] – tested compatibility torpedoplugin:iframe [2024-02-01 11:47] (current) Aleksandr
Line 1: Line 1:
-====== iframe plugin ======+====== iframe Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Allows external URLs to be loaded into an iframe in your DokuWiki page.+description: Allows external URLs to be loaded into an iframe in your DokuWiki page
 author     : Christopher Smith author     : Christopher Smith
 email      : chris@jalakai.co.uk email      : chris@jalakai.co.uk
 type       : syntax type       : syntax
-lastupdate : 2015-07-31 +lastupdate : 2023-08-17 
-compatible : 2006-11-06 and above. Tested with 2009-12-25c "Lemming"rincewindangua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus+compatible : Lemming, AnteaterRincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather, Igor
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : embed+tags       : embed, include, iframe
  
 downloadurl: https://github.com/Chris--S/dokuwiki-plugin-iframe/archive/master.zip downloadurl: https://github.com/Chris--S/dokuwiki-plugin-iframe/archive/master.zip
-sourcerepo: https://github.com/Chris--S/dokuwiki-plugin-iframe+sourcerepo : https://github.com/Chris--S/dokuwiki-plugin-iframe 
 +bugtracker : https://github.com/Chris--S/dokuwiki-plugin-iframe/issues
 ---- ----
  
- +This plugin allows you to embed other web sites in a DokuWiki page using an iframe.
-This plugin allows you to embed other web sites in a DokuWiki page using an iframe. Additional info might be available at the [[http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/iframe|developer's website]]. +
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
  
 ==== Revision History ==== ==== Revision History ====
  
 +For more recent revisions please check [[https://github.com/Chris--S/dokuwiki-plugin-iframe/commits/master|github commit list]]
 +
 +  * 2023-08-17
 +    * fix PHP8 warnings
 +    * add 'fullscreen' parameter
 +  * 2016-02-02
 +    * fix method signatures to match those of parent class
 +  * 2015-08-09/10
 +    * put plugin information into plug.info.txt
 +    * add translation strings for French, German & Dutch
 +  * 2015-07-31
 +    * move code into github
   * 2008-10-13   * 2008-10-13
     * more relaxed syntax     * more relaxed syntax
Line 36: Line 47:
   * 2006-05-01 --- (darcs version only, others to follow) settings moved to use [[devel:common plugin functions]] making them editable via the [[plugin:config|configuration manager]] in the admin menu.   * 2006-05-01 --- (darcs version only, others to follow) settings moved to use [[devel:common plugin functions]] making them editable via the [[plugin:config|configuration manager]] in the admin menu.
   * 2005-10-17 --- Released.   * 2005-10-17 --- Released.
 +
  
 ==== Manual Installation ==== ==== Manual Installation ====
Line 47: Line 59:
   lang/xx/lang.php                       language strings for config plugin   lang/xx/lang.php                       language strings for config plugin
   syntax.php                             plugin script   syntax.php                             plugin script
 +
 +
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
  
Line 55: Line 69:
 Complete Syntax: Complete Syntax:
  
-  {{url>someurl width,height noscroll noborder alignment|alternate-text}}+  {{url>someurl width,height noscroll noborder alignment fullscreen|alternate-text}}
  
 That is an URL to embed, followed by several optional parameters. The following parameters are recognized: That is an URL to embed, followed by several optional parameters. The following parameters are recognized:
Line 63: Line 77:
   * ''noborder'' will disable the frame border, note that your CSS might still add borders or may disable them without using this setting   * ''noborder'' will disable the frame border, note that your CSS might still add borders or may disable them without using this setting
   * Optionally an //alignment// can be given as ''left'' or ''right'' to have the iframe floating to the left or right. Should be used with a width.   * Optionally an //alignment// can be given as ''left'' or ''right'' to have the iframe floating to the left or right. Should be used with a width.
 +  * ''fullscreen'' will include the allowfullscreen attribute.
   * An //alternate text// is optional. If not specified an empty string will be used.   * An //alternate text// is optional. If not specified an empty string will be used.
  
 See the plugin in action [[http://wiki.jalakai.co.uk/dokuwiki/doku.php/test/iframe|here]]. See the plugin in action [[http://wiki.jalakai.co.uk/dokuwiki/doku.php/test/iframe|here]].
 +
  
 ===== Configuration ===== ===== Configuration =====
Line 88: Line 104:
  
 Modern web browsers will by default NOT embed stuff from "HTTP-only" sources in an [[wp>HTTPS]] environment((older browsers may just inform the user about mixed content, but will mix it)) - browsers will show dialogs on top or bottom of the page's window (noted for IE and SeaMonkey) or a symbol at the beginning (Firefox) or the end (Chrome) of the URL bar, allowing situative or general settings for "mixed content". :-D Should be no problem if you keep your site consistent (use relative url paths for local sources), but may be confusing in test cases. Modern web browsers will by default NOT embed stuff from "HTTP-only" sources in an [[wp>HTTPS]] environment((older browsers may just inform the user about mixed content, but will mix it)) - browsers will show dialogs on top or bottom of the page's window (noted for IE and SeaMonkey) or a symbol at the beginning (Firefox) or the end (Chrome) of the URL bar, allowing situative or general settings for "mixed content". :-D Should be no problem if you keep your site consistent (use relative url paths for local sources), but may be confusing in test cases.
 +
  
 ====== Discussion ====== ====== Discussion ======
 +
 This used to be the right spot for this, but maybe not these days? This used to be the right spot for this, but maybe not these days?
  
Line 115: Line 133:
 Regardless, it's a great plugin, thank you Christopher Smith for your work then and now. Regardless, it's a great plugin, thank you Christopher Smith for your work then and now.
  
-PS. Yes I know doc above says the same thing, but sometimes you have to hit people over the head before the listen.+PS. Yes I know doc above says the same thing, but sometimes you have to hit people over the head before they listen.
  
 ====== Tip to use together with survey-tool ====== ====== Tip to use together with survey-tool ======
plugin/iframe.1440250449.txt.gz · Last modified: 2015-08-22 15:34 by torpedo

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki