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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:overlay [2018-08-06 14:55] – [CSS] turnermmplugin:overlay [2019-04-18 11:08] – [Alternate Templates] turnermm
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 deprecate4dTherefor,  if you are  using a current template that no longer supports the ''tpl_toolsevent()'' function, then you can 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.txt · Last modified: 2023-10-30 22:33 by Klap-in

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