User Tools

Site Tools


en:aboutwiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:aboutwiki [2025/05/25 16:39] juras17en:aboutwiki [2025/06/06 10:10] (current) juras17
Line 1: Line 1:
-====== Technical informations ======+====== How to Modify the Template ======
  
 This page contains technical information about wikipedia. This page contains technical information about wikipedia.
Line 27: Line 27:
 ==== The City Guard linter ==== ==== The City Guard linter ====
  
-Another interesting place in template is in the `main.phpwhere the original procedure (not a function, its a procedure):+Another interesting place in template is in the ''main.php'' where the original **article content rendering** procedure (not a function, it'a procedure :-) ):
  
 <code> <code>
Line 45: Line 45:
 ==== The Color theme ==== ==== The Color theme ====
  
-The colors can still be changed in Admin panel, or can be placed at the botton of the `style.inifile. You can grab a color setting from different template, like adoradark:+The colors can still be changed in Admin panel, or can be placed at the botton of the ''style.ini'' file. You can grab a color setting from different template, like adoradark, a just place it at the bottom of the file:
  
 <code> <code>
Line 69: Line 69:
 </code> </code>
  
-And place it at the bottom of the file. Then you need to click on "Reset to default" in the UI Admin panel in color settings.+It will be then set as the Wiki default color setup and therefore you need to click on "Reset to default" in the UI Admin panel in color settings if you want changes to apply. 
  
 ==== You can set colors in UI ==== ==== You can set colors in UI ====
Line 79: Line 80:
 ==== Do not change the Template due to color setting ==== ==== Do not change the Template due to color setting ====
  
-You can instal different template and try it, the Arkhalia tpls will be persistent. However it is very likely that you just want different color settings. If you want better desing overall, then I'm skeptical it can be achieved with Dokuwiki templates.+You can instal different template and try it, HOWEVER, I have tried lot of them (@jurass17) and their quality is quite low and gross. (As it is often seen in some open source community driven content)  
 + 
 +If you install different template, the Arkhalia template will be still there and you can return back to it. However take a note tak Akrhalia City Guard is binded to Arkhalia template. 
 + 
 +It is very likely that you just want different color settings. If you want better design overall, then I'm skeptical it can be achieved with Dokuwiki templates.
  
  
 ==== The custom link to Arkhalia.pw ==== ==== The custom link to Arkhalia.pw ====
  
-Another interesting place is in %%tpl_header.php%% where you can place custome link to Arkhalia.pw instead of Wiki Home page:+Another interesting place is in ''tpl_header.php'' where you can place custome link to Arkhalia.pw instead of Wiki Home page:
  
 <code> <code>
Line 92: Line 97:
                 'accesskey="h" title="' . tpl_getLang('home') . ' [h]"'                 'accesskey="h" title="' . tpl_getLang('home') . ' [h]"'
             );             );
 +</code>
 +
 +
 +==== Logo size ====
 +
 +Another interesting place is in ''css/design.less'' where one can override size of the logo:
 +
 +<code>
 +#dokuwiki__header {
 +
 +...
 +
 +        img {
 +            float: left;
 +            margin-right: .5em;
 +            height: 70px;
 +            width: auto;
 +        }
 +
 </code> </code>
en/aboutwiki.1748191192.txt.gz · Last modified: 2025/05/25 16:39 by juras17