DokuWiki

It's better when it's simple

User Tools

Site Tools


template:typowiki

This is an old revision of the document!


typowiki Template

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

template Responsive, simple, grid-based template

Last updated on
2021-03-07
Repository
Source

Tagged with easy, responsive, simple

By axlevxa

This is a simple template in the modernist vein, which I have mixed feelings about. It is designed to match the look and feel people are familiar with and be comfy to read on a desktop or phone.

(See GitHub page for screenshots)

Download and Install

Visit GitHub to download this template and its extras:

https://github.com/axlevxa/typowiki/

Refer to template on how to install and use templates in Dokuwiki.

If you download the source from GitHub (i.e. not using the download link above), be sure to upload only the folder called “typowiki” to your tpl folder.

Suggested DokuWiki customizations

Localization

IMPORTANT: This template has a unique contextual button in the nav bar. To make it as straightforward as possible, I use custom localizations in DokuWiki. If you don't use these, the template will not display properly on small screens.

For english, I suggest adding the following in your conf/lang/en/lang.php file. (See changing_some_localized_texts_and_strings_in_your_installation for details.)

$lang['btn_edit']        = 'Edit';
$lang['btn_show']        = 'Cancel';
$lang['btn_create']      = 'Create';
$lang['btn_create']      = 'Create';
$lang['btn_source']      = 'Source';
$lang['loggedinas']      = '';
$lang['lastmod']         = 'Last edit was';

Español (conf/lang/es/lang.php):

$lang['btn_edit']        = 'Editar';
$lang['btn_show']        = 'Cancelar';
$lang['btn_create']      = 'Crear';
$lang['btn_source']      = 'Ver fuente';
$lang['loggedinas']      = '';

Upload a square file called 'logo.png', around 70×70, in your media manager root.

Custom Editor Icons

I made some custom retina icons for the edit bar (based on Microns). They're not the greatest, but they do go with the theme's colors a bit better. You can find them in the “extras” folder over at Github. To use, just move the png files to lib/images/toolbar/. Keep a backup of the standard ones to be safe.

Known issues

  • Theme doesn't recognize variables set/changed in “Template Style Settings.” FIXME
  • Long site titles will cut off on small screens. It would be good to add a unified menu for mobile screen sizes that takes up less space. FIXME

Plugin Compatibility

Looks pretty with nspages and discussion.

Changelog

  • v1.0 - Release
  • v1.1 - Fixed some css bugs, added ability to use a custom logo.

That's it...

Do something cool, take back control of information from the corporate overlords <3

template/typowiki.1615193409.txt.gz · Last modified: 2021-03-08 09:50 by birdsofparadise

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