DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:image-in-the-upper-right-corner

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
Last revisionBoth sides next revision
tips:image-in-the-upper-right-corner [2010-04-29 06:53] 86.200.87.17tips:image-in-the-upper-right-corner [2011-10-17 11:30] 193.196.193.20
Line 1: Line 1:
 +===== Having an image instead of title text in the upper-right corner =====
  
-==== Having an image instead of title text in the upper-right corner ==== +You can see this one in action here: **FIXME LINK CRASHED!** <del>http://deshalbfrei.immermusik.de/</del>
-You can see this one in action here: http://deshalbfrei.immermusik.de/+
  
  
Line 42: Line 42:
 ---- ----
 For dokuwiki-2009-12-25c I had to do the following to get this to work.  Please note that my dokuwiki is in htdocs/mydoku : For dokuwiki-2009-12-25c I had to do the following to get this to work.  Please note that my dokuwiki is in htdocs/mydoku :
 +
 1. Created htdocs/mydoku/images and moved logo.jgp into it (I had read permission problems if I put the file in htdocs/mydoku/data/media) 1. Created htdocs/mydoku/images and moved logo.jgp into it (I had read permission problems if I put the file in htdocs/mydoku/data/media)
 +
 2. Specified the variable as: 2. Specified the variable as:
 +
 <code php>$conf['logo'      = '<img src="/mydoku/images/logo.jpg"/>';</code> <code php>$conf['logo'      = '<img src="/mydoku/images/logo.jpg"/>';</code>
  
Line 52: Line 55:
 hackerbie@gmail.com 29 April 2010 hackerbie@gmail.com 29 April 2010
 ---- ----
 +\\ 
 +In my case, using the following made ours work: 
 +
 +<code php>$conf['logo'       = '<img src="/dokuwiki/lib/exe/fetch.php?w=&h=&cache=cache&media=YourImage.png" alt="Highlight text when hovered over" />';</code>
 +
 +Took a while but we got there...Also, the dimensions had to be changed quite a bit, but that could have been due to the template we was using (mmClean)
 +
 +v.2010.07a-0
  
 +**** We have also used the following: <code php>$conf['logo'       = '<img src="lib/tpl/mmclean/images/latin6.png</code>
  
 +---- 
tips/image-in-the-upper-right-corner.txt · Last modified: 2014-04-18 11:16 by 82.150.248.37

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki