User Tools

Site Tools


tech:software_dokuwiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tech:software_dokuwiki [2018/02/10 20:48]
reb
tech:software_dokuwiki [2018/02/12 21:49] (current)
reb
Line 13: Line 13:
 . .
  
-Jill wants a subtle **tiling background image** for her entire website. She isn't sure why DokuWiki doesn'​t ​nativly ​support this. The "​Loadskin Plugin"​ and "​wallpaper Template"​ are great but a bit overkill for this. So the code she found is…. To be updated.\\+
 + 
 +Jack wants to **change the header logo and background color**. He made a cool logo in Windows Paint, roughly 80 pixels by 80 pixels but it doesn'​t matter, and saved it. DokuWiki only allows the file name to be Logo.PNG. At his site he clicks Media Manager below the search box, and then clicks the Wiki area. Then goes to upload and ensures Overwrite is checked. Eventually he got fancy and used Photoshop to make the border of his logo transparent,​ then Exported as a low-color PNG. Then went to DokuWiki'​s Admin area to change the background color to a festive neon green. 
 + 
 +
 + 
 +Jill wants a subtle **tiling background image** for her entire website. She isn't sure why DokuWiki doesn'​t ​natively ​support this. The "​Loadskin Plugin"​ and "​wallpaper Template"​ are great but a bit overkill for this. So the code she found is…. To be updated.\\
 .\\ .\\
 Jill uses the default template (visual theme) but does have a little custom code. When she updates DokuWiki, her code disappears. But she's prepared, she has the code on her flashdrive, in a notepad document. Jill uses the default template (visual theme) but does have a little custom code. When she updates DokuWiki, her code disappears. But she's prepared, she has the code on her flashdrive, in a notepad document.
Line 36: Line 42:
  
 **Indents**. Jack wanted an indented line, so he can use CKEdit Plugin, or he can type > at the start of every line. Typing two of these, indents the line further. As you can see below, you can make text deeply indented. This method places a grey stripe on the left. As seen here; **Indents**. Jack wanted an indented line, so he can use CKEdit Plugin, or he can type > at the start of every line. Typing two of these, indents the line further. As you can see below, you can make text deeply indented. This method places a grey stripe on the left. As seen here;
- +<​code>>​The>>​cat
-<​code>​ +
- +
->The +
->>cat+
 >>>​in >>>​in
 >>>>​the >>>>​the
 >>>>>​hat >>>>>​hat
 >>>>>>​rules. >>>>>>​rules.
- 
 </​code>​ </​code>​
  
Line 99: Line 100:
 . .
  
-* **YouTube or Embed HTML using iFrames**. Jill uses too many plugins, she just wants to show a YouTube cat video. Why isn't this a normal feature? No one knows. This is easy as long as she's the only user on her website, because this method can be taken advantage of by bad users. Using iFrames, you can embed whatever video or website (sadly even a dangerious ​one) onto your DokuWiki. Set your DokuWiki settings to allow iFrames, by going to Admin, then Configuration Settings, then click Editing in the TableOfContents,​ and check "Allow Embedded HTML", then click Save at the bottom of the page. Now on any page, use the following code. Replace //​c29XPAVy65o//​ with the similar number located in the address of your desired YouTube video. DokuWiki requires the HTML part to be there, so don't delete that…+* **YouTube or Embed HTML using iFrames**. Jill uses too many plugins, she just wants to show a YouTube cat video. Why isn't this a normal feature? No one knows. This is easy as long as she's the only user on her website, because this method can be taken advantage of by bad users. Using iFrames, you can embed whatever video or website (sadly even a dangerous ​one) onto your DokuWiki. Set your DokuWiki settings to allow iFrames, by going to Admin, then Configuration Settings, then click Editing in the TableOfContents,​ and check "Allow Embedded HTML", then click Save at the bottom of the page. Now on any page, use the following code. Replace //​c29XPAVy65o//​ with the similar number located in the address of your desired YouTube video. DokuWiki requires the HTML part to be there, so don't delete that…
  
 {{  :​tech:​html-for-youtube.png?​nolink&​1005x36 ​ |HTML Code for YouTube}}//​.//​ {{  :​tech:​html-for-youtube.png?​nolink&​1005x36 ​ |HTML Code for YouTube}}//​.//​
Line 105: Line 106:
 * Jill needs to **display raw code without DokuWiki formatting it**. She types the following: * Jill needs to **display raw code without DokuWiki formatting it**. She types the following:
  
-<​nowiki>​ <​code>​ Raw code pasted here </​code>​ </​nowiki>​+<​nowiki>​ <​code>​ Raw code pasted here, will retain Spaces and Enter, and show up in a grey box</​code>​ </​nowiki>​
  
-Or the same thing happens here:+Or the following two methods remove when you pressed Enter on the keyboard:
  
 <​nowiki>​ <​nowiki>​ Raw code pasted here </​nowiki>​ </​nowiki>​ <​nowiki>​ <​nowiki>​ Raw code pasted here </​nowiki>​ </​nowiki>​
  
-<​nowiki>​ Or simply type %% at the start and end of your code. </​nowiki>​+<​nowiki>​ Or simply type %% at the start and end of your code, but it will be converted to NoWiki. </​nowiki>​
  
 . .
tech/software_dokuwiki.1518295700.txt.gz · Last modified: 2018/02/10 20:48 by reb