DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:htmlokay

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:htmlokay [2016-12-08 15:11] – [HtmlOKay Plugin] turnermmplugin:htmlokay [2023-10-30 22:49] (current) Klap-in
Line 7: Line 7:
 email      : turnermm02@shaw.ca email      : turnermm02@shaw.ca
 type       : admin, action type       : admin, action
-lastupdate : 2016-12-08 +lastupdate : 2017-12-07 
-compatible : 2006-11-062007-06-26b,binky,ponder stibbons,hrun,detritus,"Elenor Of Tsort"+compatible : BinkyPonder StibbonsHrunDetritusElenor of TsortFrusterick MannersGreebo, !Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
Line 15: Line 15:
 bugtracker :  https://github.com/turnermm/htmlOKay/issues bugtracker :  https://github.com/turnermm/htmlOKay/issues
 tags       :  acl, groups, users, html, htmlok, configuration tags       :  acl, groups, users, html, htmlok, configuration
-downloadurl : https://github.com/turnermm/htmlOKay/archive/stable.tar.gz+downloadurl : https://github.com/turnermm/htmlOKay/archive/master.zip 
 +donationurl: http://mturner.org/userfiles/donate.php
 ---- ----
  
  
 ===== Installation ===== ===== Installation =====
- +Search and install ​the plugin using the [[plugin:extension|Extension ​Manager]]. Or download from gitHub: [[https://github.com/turnermm/htmlOKay/archive/master.tar.gz|]] and install manually.
-Use the extension manager or download from gitHub: [[https://github.com/turnermm/htmlOKay/archive/master.tar.gz|]].+
  
 **Note:**  When installing from the extension manager, you might get a message that the extension has not been installed.  This is probably not true; reload the extension manager and check to see if the extension is listed.  Then if it is not, you can install it by using the manual install tab of the extension manager and the above github url. **Note:**  When installing from the extension manager, you might get a message that the extension has not been installed.  This is probably not true; reload the extension manager and check to see if the extension is listed.  Then if it is not, you can install it by using the manual install tab of the extension manager and the above github url.
Line 43: Line 43:
  
 It might be good policy to designate selected namespaces for HTML usage for selected users.  Then it is not necessary to reset the permissions each time a new  page is created.   It might be good policy to designate selected namespaces for HTML usage for selected users.  Then it is not necessary to reset the permissions each time a new  page is created.  
 +=====Refresh Button=====
 +More than one ''access level'' can be applied to the same namespace. For visitors to such a namespace, **htmlOKay** uses the the ''display_level''to determine the access level at which to display the pages in that namespace.  
 +
 +Because DokuWiki caches its pages, sometimes the HTML displayed to a visitor may be that of the last cached version of a page, instead of the version assigned to the __display level__.  Because DokuWiki caches its pages, the HTML displayed to a visitor may be that of the last cached version of a page, instead of the version assigned to the __display level__.  To get around this problem if you see it as a problem, you can create a refresh button, to re-parse the page after the developer has logged out:
 + 
 +<code php button.php> 
 +    <form class="button" method="get" action=<?php  echo DOKU_BASE ."/doku.php"?>>
 +      <div class="no">
 +        <input type="hidden" name="do" value="show" />
 +        <input type="hidden" name="refresh" value="yes" />
 +        <input type="hidden" name="id" value="<?php echo $ID; ?>" />
 +        <input type="submit" value="Refresh" class="button"  />
 +      </div>
 +    </form>
 +
 +</code>
 +===== Change Log =====
 +{{rss>https://github.com/turnermm/htmlokay/commits/master.atom date count=15}}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  
  
  
plugin/htmlokay.1481206280.txt.gz · Last modified: 2016-12-08 15:11 by turnermm

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