DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:embed

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:embed [2010-04-15 21:34] – bug with wikilink translation Henkplugin:embed [2024-02-02 08:05] (current) Aleksandr
Line 1: Line 1:
-====== DokuWiki Plugin: embed ======+====== Embed Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: This plugin allows to embed wikipages seamlessly into another page. In addition, parts marked with the label plugin can be replaced.+description: This plugin allows to embed wikipages seamlessly into another page. In addition, parts marked with the Label Plugin can be replaced.
 author     : Pascal Bihler author     : Pascal Bihler
 email      : bihler@iai.uni-bonn.de email      : bihler@iai.uni-bonn.de
Line 12: Line 12:
 similar    : include similar    : include
 tags       : include, embed tags       : include, embed
 +
 +downloadurl: http://pb.wh4f.de/dokuwiki/embed.zip
 ---- ----
- 
- 
- 
  
 ===== The idea ===== ===== The idea =====
  
 Sometimes you are required to include a wikipage while replacing parts of it, e.g. if building up hierarchical menus with the [[:Template#sidebar|Sidebar Template]]. Sometimes you are required to include a wikipage while replacing parts of it, e.g. if building up hierarchical menus with the [[:Template#sidebar|Sidebar Template]].
- 
- 
  
 ===== Requirements ===== ===== Requirements =====
  
 I've developed the plugin under the DokuWiki version of 2006-11-06 and seems to work with version 2007-06-26 as well. I've developed the plugin under the DokuWiki version of 2006-11-06 and seems to work with version 2007-06-26 as well.
- 
- 
  
 ===== Download / Installation ===== ===== Download / Installation =====
Line 35: Line 30:
 ===== Shortcomings ===== ===== Shortcomings =====
  
-To assure proper use of ACLs, this plugin inhibits caching on pages which make use of the <embed ...> tag.+To assure proper use of [[:acl|ACLs]], this plugin inhibits caching on pages which make use of the ''%%<embed ...>%%'' tag.
  
 ===== Syntax ===== ===== Syntax =====
Line 50: Line 45:
 </embed> </embed>
 </code> </code>
- 
  
 ===== Use Case ===== ===== Use Case =====
Line 113: Line 107:
       * [[.:labs:]]       * [[.:labs:]]
     * [[:publications:]]     * [[:publications:]]
- 
- 
  
 ===== Code ===== ===== Code =====
Line 161: Line 153:
  'name'   => 'Embed',  'name'   => 'Embed',
  'desc'   => 'Allows to embed wikipages in other ones, while offering the possibility to replace parts of the original page marked with labels.',  'desc'   => 'Allows to embed wikipages in other ones, while offering the possibility to replace parts of the original page marked with labels.',
- 'url'    => 'http://www.dokuwiki.org/plugin:embed',+ 'url'    => 'https://www.dokuwiki.org/plugin:embed',
  );  );
  }  }
Line 358: Line 350:
 to to
   } elseif (strpos($link, ':')){   } elseif (strpos($link, ':')){
 +  
 +===== Stopped working =====
 +
 +I wanted to make a "dynamic mediawiki style infobox" and this was the best plugin for it, until a day it stopped working.
plugin/embed.1271360045.txt.gz · Last modified: 2010-04-15 21:34 by Henk

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