Skip to content

Commit

Permalink
fix external tools now showing in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
nomadjimbob committed Oct 13, 2023
1 parent 3a44a74 commit f02b8ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ If the plugin is installed, the **Template Styles Settings** page will be expand

## Releases

- **_2023-10-14_**

- Fixed bug where external page tools where not showing in the tool bar. Thanks Jan.

- **_2023-06-05_**

- Fixed bug with `~~hide-parts~~` no longer working. [#52](https://github.com/nomadjimbob/mikio/issues/52). Thanks nathanmcguire.
Expand Down
2 changes: 1 addition & 1 deletion mikio.php
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ public function includePageTools(bool $print = true, bool $includeId = false)

$classes = array_unique($classes);

$showItem = $this->getConf('pageToolsShow' . ucfirst($item->getType()));
$showItem = $this->getConf('pageToolsShow' . ucfirst($item->getType()), 'always');
if (
$showItem !== false && (strcasecmp($showItem, 'always') === 0 ||
(strcasecmp($showItem, 'logged in') === 0 && $loggedIn === true) ||
Expand Down
2 changes: 1 addition & 1 deletion template.info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base mikio
author James Collins
email james.collins@outlook.com.au
date 2023-06-05
date 2023-10-14
name Mikio theme
desc Mikio template based on Bootstrap 4 with hero element for Dokuwiki
url https://www.dokuwiki.org/template:mikio

0 comments on commit f02b8ab

Please sign in to comment.