DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:overlay

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:overlay [2018-08-06 14:55]
turnermm [CSS]
plugin:overlay [2019-05-15 17:59] (current)
turnermm [Alternate Templates]
Line 74: Line 74:
   tpl_toolsevent('​ovltools',​ array());   tpl_toolsevent('​ovltools',​ array());
 </​code>​ </​code>​
-Place this code where you want your link or button to appear. Whether you get a lilnk or a button will depend on the [[#​toggletype|toggletype]] configuration option. ​ You can style the link or button using the css in ''​overlay/​style.css'',​ where you will find two place-holders:​+Place this code where you want your link or button to appear. Whether you get a link or a button will depend on the [[#​toggletype|toggletype]] configuration option. ​ You can style the link or button using the css in ''​overlay/​style.css'',​ where you will find two place-holders:​
 <code css> <code css>
 /* mark  settings here as !important. ​ For instance, ​ color: green !important; */ /* mark  settings here as !important. ​ For instance, ​ color: green !important; */
Line 80: Line 80:
 a.overlaytools {} a.overlaytools {}
 </​code>​ </​code>​
-Post ''​Frusterick Manners'',​ the function ​''​tpl_toolsevent'' ​will probably no longer be supported by Dokuwiki, which will have a new menu interface In this caseyou can use the following instead: +The ''​tpl_toolsevent()'' ​is now deprecatedTherefore,  if you are  using a current template that no longer supports ​the ''​tpl_toolsevent()''​ function, then you cean insert your own link or button into your template. ​  Use one of the following:
-         <?​php ​ (new \dokuwiki\plugin\overlay\OverlayMenu())->​getItems();?>​ +
-==== Alternate Template (pre-Detritus) ==== +
-If you are not using Detritus or later, or if you are not using the default dokuwiki template, then you will have to insert your own link or button into your template. ​  Use one of the following:+
  
 <code html> <code html>
plugin/overlay.1533560107.txt.gz · Last modified: 2018-08-06 14:55 by turnermm