1<img src="https://raw.githubusercontent.com/nomadjimbob/nomadjimbob/master/wiki/mikioplugin/images/mikio_plugin_header.png"> 2 3[](LICENSE) 4[](https://saythanks.io/to/james.collins%40outlook.com.au) 5 6Mikio Plugin adds a heap of layout and Bootstrap 4 elements that can be used on your [DokuWiki](http://dokuwiki.org/) pages. 7 8This plugin can be used by itself, however is designed to complement the [Mikio DokuWiki template](http://dokuwiki.org/template:mikio). 9 10## Updating Styles 11 12You can update the colors used by the elements by editing the `/assets/variables.css` file. From version 2022-10-31 onwards, the theme supports darkmode within browsers. 13 14If you have the [Mikio DokuWiki template](http://dokuwiki.org/template:mikio) 2022-10-31 onwards installed, the `/assets/variables.css` will be ignored as the template adds the variables itself. These can be edited using 15**Template Style Settings** in your sites **Administration** page. 16 17## Setting Up 18 19Download the [latest release](https://github.com/nomadjimbob/mikioplugin/releases/latest) and place it in the\ 20\ 21:file_folder: dokuwiki\ 22 :file_folder: lib\ 23 :file_folder: plugins 24 25directory of your DokuWiki installation. 26 27Sometimes GitHub releases change the name of the mikioplugin directory, so make sure that the directory is `mikioplugin` else you may see errors in DokuWiki. 28 29## Disabling Tags 30 31If a Mikio Plugin tag is conflicting with another plugins tag, or you want to simply disable a tag, you can do this in the `disabled-tags.php` file. 32 33Simply change the tag you want to disable to `true` instead of `false`. Pages that have already been generated while the tag was enabled will need to be regenerated. 34 35## Releases 36 37- **_NEXT_** 38 - Fixed bug in icon engine where bootstrap icons were not being rendered correctly [#42](https://github.com/nomadjimbob/mikioplugin/issues/42). Thanks nhratos. 39 - Fixed rendering bug inside columns in certain instances due to flexbox [#41](https://github.com/nomadjimbob/mikioplugin/issues/41). Thanks reissmann. 40 - Other Navs now close when a second one is opened [#39](https://github.com/nomadjimbob/mikioplugin/issues/39). Thanks aloade. 41 - Fixed undefined array key errors under PHP 8.1 [#37](https://github.com/nomadjimbob/mikioplugin/issues/37). Thanks MartijnSanders. 42 43- **_2025-07-24_** 44 - Fixed security vulnerability, parsing less error discloses the physical path. Reported by B Mercer. 45 - Fixed invalid white-space property in stylesheet. 46 - Various PHP optimizations and code cleanup. 47 48- **_2024-06-05_** 49 50 - Added `<tags>` element to support rendering the page tags anywhere if using the Mikio theme [Mikio-#70](https://github.com/nomadjimbob/mikio/issues/70). Requested by garanovich. 51 - Fixed images being stretched in cards [#32](https://github.com/nomadjimbob/mikioplugin/issues/32). Thanks Elanndelh. 52 - Added `align-` support to cards [#35](https://github.com/nomadjimbob/mikioplugin/issues/35). Requested by garanovich. 53 - `<right-sidebar>` element added for making right handed sidebars within the page. 54 55- **_2024-02-09_** 56 57 - Added support for DokuWiki Kaos 58 - Updated to support PHP 8.2 59 60- **_2024-01-14_** 61 62 - `<col>` now supports the `vertical-align` option, defaulting to top [#30](https://github.com/nomadjimbob/mikioplugin/issues/30). Thanks EmmaKnijn. 63 - `<right-sidebar>` element added for making right handed sidebars within the page. 64 65- **_2024-01-06_** 66 67 - Fix missing default options of height and width in nav element [#29](https://github.com/nomadjimbob/mikioplugin/issues/29). Thanks armandostyl. 68 69- **_2023-12-10_** 70 71 - Fix a LESS compiliation error introduced in [#26](https://github.com/nomadjimbob/mikioplugin/issues/26). Thanks WetenSchaap. 72 73- **_2023-12-04_** 74 75 - Multiple paginations on a single page is now supported. 76 - Pagination will try it best in resolving malformed URLs with missing content. 77 - Fixed parsing to ignore <> symbols in element options which used to break the element. 78 - Added ability to create group radio items in a multiple quiz item by surrounding options in []. Requested by Dylan. 79 - Renamed pagenation to pagination while keep backwards compatibility. 80 - Fixed pagination when using nice urls, rewrites and slashes [#26](https://github.com/nomadjimbob/mikioplugin/issues/26). Thanks armandostyl. 81 - Updated pagination to use its own variables inside variables.css. 82 - Fixed up some border radius issues and dark mode theming on pagination element. 83 84- **_2023-11-19_** 85 86 - Fix quiz results not shown correctly when markdown formatting applied. 87 - Quiz placeholders can now be markdown formatted. 88 - Quiz result elements now have classes that can be manually styled through css. 89 - Fix button backgrounds being overridden by the DokuWiki theme when styled. 90 91- **_2023-11-18_** 92 93 - Better handling when a `quizitem` does not contain a `scores` or `answer` attribute. 94 - Added `full` attribute to `quiz` to show the entire quiz. 95 - Quiz questions, text and options support basic markdown to bold and italic points. 96 - Quiz now supports [style](https://github.com/nomadjimbob/mikioplugin/wiki/Common-Attributes#styles) attribute for buttons. 97 - Custom styles now automatically builds the `outline-` style. 98 99- **_2023-11-17_** 100 101 - Added scoring and multiple options to the `quiz` elements. Requested by Dylan. 102 103- **_2023-10-16_** 104 105 - Added support to justify individual components of the card. Requested by Dylan. 106 107- **_2023-10-10_** 108 109 - Fixed custom styles not being implemented correctly and added direct type support. Thanks Dylan 110 - Heading element now supports `color` and `text-decoration` options. Requested by Dylan. 111 112- **_2023-09-11_** 113 114 - Fixed small tag not being inline [#22](https://github.com/nomadjimbob/mikioplugin/issues/22). Thanks Rayaqu 115 - Added support to disable tags. 116 117- **_2023-09-03_** 118 119 - Fixed card height issues on smaller viewports. 120 - Fixed columns not stacking on small viewports when using sizing. [#21](https://github.com/nomadjimbob/mikioplugin/issues/21). Thanks armandostyl 121 122- **_2023-06-16_** 123 124 - Fixed spacing issues with listgroup items with mixed styles. [#20](https://github.com/nomadjimbob/mikioplugin/issues/20). Thanks armandostyl 125 126- **_2023-06-06_** 127 128 - Added Nav item to create dropdown navigation items. [#18](https://github.com/nomadjimbob/mikioplugin/issues/18). Thanks armandostyl 129 - Added support for elements in sidebars 130 131- **_2023-05-20_** 132 133 - AccordionItem, Alert, Blockquote, Card and CardBody now support containing 'protected' type which fixes some elements not rendering correctly (ie <<>code<>>) 134 135- **_2023-05-19_** 136 137 - Updated to include a polyfill for array_key_first if PHP < 7.3 138 139- **_2022-10-31_** 140 141 - Fixed 'link' type for Buttons 142 - Updated CSS to use CSS Variables (supporting switchable themes and style editor within Mikio template). Thanks chrbinder. 143 - variables.css no longer included if the mikio template is installed, active and version 2022-10-31 or greator 144 145- **_2022-01-18_** 146 147 - Fixed accordian not rendering tables inside itself [#15](https://github.com/nomadjimbob/mikioplugin/issues/15). Thanks Melphios 148 149- **_2021-12-15_** 150 151 - Added `autoclose` attribute to Accordions to close any other open accordion items other than the one clicked by the user. Requested by eFreshman 152 153- **_2021-12-14_** 154 155 - Fix Carousel not containing image by default [#14](https://github.com/nomadjimbob/mikioplugin/issues/14). Thanks eFreshman 156 157- **_2021-12-13_** 158 159 - Fix Struct Plugin Aggregation [#13](https://github.com/nomadjimbob/mikioplugin/issues/13). Thanks eFreshman 160 161- **_2021-11-13_** 162 163 - Carousel control colors can now be customized 164 - Carousel now supports circle indicators 165 - Dynamically build and fullscreen carousels now supported 166 - SyntaxRender method now correctly converts tagName to methodNames 167 168- **_2021-08-11_** 169 170 - Replace Windows directory separator in CSS paths 171 - Fixed path check in LESS engine on Windows 172 - Recompiled CSS 173 - Fixed PHP warnings 174 175- **_2021-08-10_** 176 177 - Button outline styling fix [#12](https://github.com/nomadjimbob/mikioplugin/issues/12) 178 - Added small margin to left and right of buttons 179 180- **_2021-07-13_** 181 182 - Element class shortcuts (eg text-center) working again 183 - LESS engine updated to match the Mikio theme 184 - LESS fallback to CSS 185 186- **_2021-04-23_** 187 188 - Fixed Card element overflow issues. Cards will now be their own height when inside a row element. To force cards to all be the same height, wrap each card in a col element 189 - Adding a card-footer element inside a card-body element will now work. This fixes inside card elements 190 - Cards and Carousel images are now contained inside the element instead of covering the element 191 - Added `cover` attributes to Card and Carousel for images to cover element instead of being contained 192 - Height attribute bugfix for placeholders 193 194- **_2021-04-19_** 195 196 - Fixed images not always being contained within elements such as card headers [#9](https://github.com/nomadjimbob/mikioplugin/issues/9) 197 198- **_2021-03-05_** 199 200 - Added support for custom element types and styling [#6](https://github.com/nomadjimbob/mikioplugin/issues/6) 201 202- **_2021-03-02_** 203 - Fixed a dokuwiki rendering issue in card bodies [#7](https://github.com/nomadjimbob/mikioplugin/issues/7) 204 - Fixed a text alignment not being applied in alerts [#8](https://github.com/nomadjimbob/mikioplugin/issues/8) 205 206## Links 207 208- DokuWiki Plugin Page: (http://dokuwiki.org/plugin:mikioplugin) 209- Download: (https://github.com/nomadjimbob/mikioplugin/releases/latest) 210- Docs: (https://github.com/nomadjimbob/mikioplugin/wiki) 211- Donate: (https://www.ko-fi.com/nomadjimbob) 212- License: (https://raw.githubusercontent.com/nomadjimbob/mikioplugin/master/LICENSE) 213 214## Contributing 215 216Any contributions are appreciated. Please feel free to reach out to me at james.collins@outlook.com.au 217