Benutzer-Werkzeuge

Webseiten-Werkzeuge


wikidoku

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
intern:wikidoku [2016/01/11 19:35] – [Adding the selector to the theme] ravenwikidoku [2020/09/19 22:03] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 11: Zeile 11:
 The snippet from [[doku>plugin:translation]] was added to the ''dokuwiki'' theme. The snippet from [[doku>plugin:translation]] was added to the ''dokuwiki'' theme.
  
-**///var/www/wiki/lib/tpl/dokuwiki/tpl_header.php //**+''///var/www/wiki/lib/tpl/dokuwiki/tpl_header.php//''
  
 <code php> <code php>
Zeile 47: Zeile 47:
 ''style.css'' was changed so that the language selector nicely ligns up left of the ''login'' section. ''style.css'' was changed so that the language selector nicely ligns up left of the ''login'' section.
  
-//**/var/www/wiki/lib/plugins/translation/style.css**// +''///var/www/wiki/lib/plugins/translation/style.css//''
 <code css> <code css>
 .dokuwiki div.plugin_translation { .dokuwiki div.plugin_translation {
Zeile 76: Zeile 75:
 We where getting of ''en:start'', ''start/?id=de:start'' and ''de:start'', ''start/?id=en:start''\\. We where getting of ''en:start'', ''start/?id=de:start'' and ''de:start'', ''start/?id=en:start''\\.
  
-We found the problem to be that ''script.js'' expects the base-url to end with ''/'' when url-rewriting is active. In our case However, it end with ''/start''+We found the problem to be that ''script.js'' expects the base-url to end with ''/'' when url-rewriting is active. In our case However, it ends with ''/start''(which seems to be intentended, see the the ''wl()'' function in ''common.php'')
  
 We implemented the following workaround to fix this: We implemented the following workaround to fix this:
  
-**///var/www/wiki/lib/plugins/translation/script.js//**+''///var/www/wiki/lib/plugins/translation/script.js//''
  
 <code javascript> <code javascript>
Zeile 100: Zeile 99:
 </code> </code>
  
 +===== plugin:doodle =====
 +
 +We use a version of the doodle plugin that has been tampered with by the c3voc. Ask andi for details.
 ===== Nicer breadcrumbs ===== ===== Nicer breadcrumbs =====
 +
 +Since we're using both ''You are here:'' and ''Trace:'' breadcrumbs later are being moved to the right to keeping the breadcrumbs bar one line high.
 +
 +''///var/www/wiki/lib/tpl/dokuwiki/css/design.less//''
 +<code css>
 +/*____________ breadcrumbs ____________*/
 +
 +.dokuwiki div.breadcrumbs {
 +    border-bottom: 1px solid @ini_background;
 +    border-bottom: 1px solid @ini_border;
 +    margin-bottom: .5em;
 +    font-size: 0.875em;
 +    clear: both;
 +
 +    div {
 +        padding: .1em .35em;
 +        }
 +
 +    div:only-child {
 +        border-top: 1px solid @ini_background;
 +        border-bottom: 1px solid @ini_border;
 +    }
 +
 +    div:first-child {
 +        border-top: 1px solid @ini_background;
 +    }
 +
 +    div:last-child {
 +        border-bottom: 1px solid @ini_border;
 +    }
 +
 +    .bcsep {
 +        font-size: 0.75em;
 +    }
 +}
 +
 +#IE8 .dokuwiki div.breadcrumbs div {
 +    border-bottom: 1px solid @ini_border;
 +}
 +</code>
 +
 +Was changed to:
 +
 +<code css>
 +/*____________ breadcrumbs ____________*/
 +
 +.dokuwiki div.breadcrumbs {
 +    border-top: 1px solid @ini_border;
 +/*    border-bottom: 1px solid @ini_background; */
 +    border-bottom: 1px solid @ini_border;
 +    padding: 1px;
 +/* changed by raven, 09-01-16 in order to move trace to the right */
 +    margin-bottom: .5em;
 +    font-size: 0.875em;
 +    clear: both;
 +
 +    div {
 +        padding: .1em .35em;
 +    display: inline-block;
 +/* changed by raven, 09-01-16 in order to move trace to the right */
 +        }
 +
 +    div:only-child {
 +        border-top: 1px solid @ini_background;
 +        border-bottom: 1px solid @ini_border;
 +    }
 +
 +    div:first-child {
 +        border-top: 1px solid @ini_background;
 +    }
 +
 +    div:last-child {
 +/*        border-bottom: 1px solid @ini_border; */
 +        float: right;
 +/* changed by raven, 09-01-16 in order to move trace to the right */
 +    }
 +
 +    .bcsep {
 +        font-size: 0.75em;
 +    }
 +}
 +
 +#IE8 .dokuwiki div.breadcrumbs div {
 +    border-bottom: 1px solid @ini_border;
 +}
 +</code>
 +
 +
 +===== Locked Settings =====
 +
 +The following setting have been locked to prevent accidental messup:
 +
 +''///var/www/wiki/conf/local.protected.php//''
 +
 +<code php>
 +<?php
 +$conf['start'] = 'start';
 +$conf['lang'] = 'de';
 +$conf['useacl'] = 1;
 +$conf['superuser'] = '@admin';
 +$conf['userewrite'] = '1';
 +$conf['plugin']['translation']['translations'] = 'de en';
 +</code>
wikidoku.1452537333.txt.gz · Zuletzt geändert: 2020/09/19 22:03 (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki