WackoWiki: Default Theme

https://wackowiki.org/doc     Version: 27.06.2022 09:41
Compatible with: R6.1
Current version: 1.7
Credits: WikiAdmin[link1], RideSnowNow[link2]

Theme repo: theme/default[link3]

1. Screenshot

Default theme (large screenshot)

2. Download and installation


3. Features


The theme has been designed for all options you got by the wacko markup[link4]. It contains a small main navigation including the input field for the keyword search. At the header you find the link to the login or registration page or if logged in links to the user page, account settings and logout.

4. Structure

<div id="mainwrapper">
  <header>
    <div id="header-main">
      <div id="header-site"></div>
      <div id="login-box"></div>
    </div>
    <nav class="menu-main">
      <div id="menu-user"></div>
      <div id="page-handler"></div>
    </nav>
    <nav class="breadcrumb"></nav>
  </header>
  <main>
    <article id="page"></article>
    <div id="header-files"></div>
    <div id="header-comments"></div>
  </main>
  <footer>
    <nav class="footer"></nav>
      <div class="page-meta"></div>
    <div id="credits"></div>
  </footer>
</div>

5. Customization


First copy the theme to a new folder, e.g. theme/default_custom, to not accidentally overwrite your changes during a update or rollback.


To alternate the HTML just edit the files in the folder:

appearance/template/
header.tpl
footer.tpl


To change colors/etc and typographical formatting you can edit the files in the folder:

appearance/css/
default.css
wacko.css

You can add i18n features when you add those menu targets and their names to the translation files which you find at lang/ folder.

<?php

$theme_translation 
= [
    
'Eureka' => 'Εύρηκα',
];


The theme config file wacko.all.php overrides the default values, it enables you to set your own config-options as well as overwriting existing ones.
lang/wacko.all.php

<?php
// theme options =========
$this->db->revisions_hide_cancel 1;
$this->db->site_desc  'Bootstrap Theme for WackoWiki';
$this->db->footer_inside 0;

// ============================
$theme_translation = [
    
'EditIcon' => '...',
    
'' => '',
];

6. Bugs, Proposals & Support


For bug reports and feature requests you can write to https://wackowiki.org/bugs/.

7. License


The Default Theme is part of the WackoWiki package.
BSD license.

7.1. Icons

Icons were taken from the Breeze (Plasma 5 icon theme) icons set.
https://github.com/KDE/breeze-icons
Icons are licensed under the LGPLv3