[dokuwiki] Re: How to add own pictures, upgrade-savvy

On 4/25/06, Oliver Geisen <oliver.geisen@xxxxxxxxxxxx> wrote:
> Hello,
>
> how do i add new images to lib/images/fileicons/ oder lib/images/
> smileys/ and be sure they're not gone after an upgrade ?
> Is der any "local" place to store, so they will be used in the same
> manner ?

The way I did it is created a namespace called admin and gave only
admin access to it; then I created links between the conf/files and
the data/pages/admin directory -- see below -

acl.auth.php
local.protected.php
acronyms.local.conf
entities.local.conf
interwiki.local.conf
mime.local.conf
smileys.local.conf
wordblock.local.conf

Error Page Control (these were linked from dokuwiki root /)
400.shtml
401.shtml
403.shtml
404.shtml
500.shtml

Next, I grab the dev tar ball (not the darcs cvs trunk) and untarGzip
it.  My html directory top-level looks like this:

dokuwiki is a ln -s'ed to dw (dw is a sub-domain off ccsh.us)

So, when I execute tar zxvf dokuwikiXXXX.tgz it unpacks into the
dokuwiki linked directory and everything works; files that I have
published are named sx_filename.ext so its unlikely the dokuwiki
update will overwrite anything.

If you are worried you can execute this to back them up first:

SECONDS=`date +%s`
tar --exclude dwSite$SECONDS.tgz -zcf dwSite$SECONDS.tgz path/to/wiki/files/*

HTH/Sx =)
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: