Default Theme

Compatible with: R6.1
Current version: 1.7
Credits: WikiAdmin, RideSnowNow


Theme repo: theme/default

1. Screenshot

Default theme (large screenshot)

2. Download and installation


  • The default theme is part of the distribution package.

3. Features


The theme has been designed for all options you got by the wacko markup. 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.


  • RTL support

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


Show Files (2 files)

Read comments (0 comments)