|
[dokuwiki]
||
[Date Prev]
[02-2007 Date Index]
[Date Next]
||
[Thread Prev]
[02-2007 Thread Index]
[Thread Next]
[dokuwiki] Re: How to integrate a header-logo in a dokuwiki-site
- From: Ferdinand Soethe <sammler@xxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 03 Feb 2007 12:09:18 +0100
Bob McConnell wrote:
> In the tips and tricks section <http://wiki.splitbrain.org/wiki%3Atips>
> you will find
> <http://wiki.splitbrain.org/wiki:tips:image-in-the-upper-right-corner>.
>
> Bob McConnell
>
After some experimenting here are some additional ideas (already added
to the wiki)
running a closed wiki I needed to use a different kind of url to access
the image.
I copied this from the way images are referenced in the body:
/dokuwiki2/lib/exe/fetch.php?w=&h=&cache=cache&media=yourlogo.png
It worked at least in CSS.
Anybody knows a nicer way to call fetch w/o hardcoding the wiki dir?
An alternative to the approach of changing main.php is to change layout.css
Adding something like
background-image:
url(/dokuwiki2/lib/exe/fetch.php?w=&h=&cache=cache&media=yourlogo.png);
background-repeat:no-repeat;
to the layout.css will add the logo as a background to the header
Regards,
Ferdinand Soethe
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|