User Tools

Site Tools


haas:status

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
Last revisionBoth sides next revision
haas:status [2020/03/12 20:03] – [November 21st, 2019] wedgehaas:status [2022/08/28 19:25] – [Other Days] wedge
Line 81: Line 81:
     * http://www.askapache.com/linux/rxvt-xresources.html     * http://www.askapache.com/linux/rxvt-xresources.html
 ======Other Days====== ======Other Days======
 +
 +======August 28th, 2022======
 +=====dokuwiki included pages no edit button (fixed)=====
 +I wanted a read-only base project page, with notes namespace-included content that users could edit.
 +
 +Unfortunately, that particular combination did not work, at least, not until I did some searching and found: https://github.com/dokufreaks/plugin-include/issues/132
 +
 +<code php>
 +function html_secedit($text,$show=true){
 +    global $INFO;
 +
 +    if((isset($INFO) && !$INFO['writable']) || !$show || (isset($INFO) && $INFO['rev'])){
 +        $include_SEC_EDIT_PATTERN = '#<!-- EDIT{(?!.*PLUGIN_INCLUDE).*?} -->#';
 +        return preg_replace($include_SEC_EDIT_PATTERN,'',$text);
 +    }
 +
 +    return preg_replace_callback(SEC_EDIT_PATTERN,
 +                'html_secedit_button', $text);
 +}
 +</code>
 ======March 12th, 2020====== ======March 12th, 2020======
  
Line 91: Line 111:
 </code> </code>
  
 +Obtained from:
 +
 +  * https://www.linuxquestions.org/questions/linux-newbie-8/aborted-journal-and-volume-remounted-read-only-812216/
 ======November 21st, 2019====== ======November 21st, 2019======
 =====pi4b dual head===== =====pi4b dual head=====
haas/status.txt · Last modified: 2022/08/28 20:15 by wedge