[pmwiki-users] Uploads

marc gmane at auxbuss.com
Wed Nov 15 15:41:35 CST 2006


Mark Trumpold said...
> 
> > Mark Trumpold wrote:
> > 
> >> This is what I have in my config.php
> >> $EnableUpload = 1;
> >> $DefaultPasswords['upload'] = crypt('aaaa');
> >> $UploadDir = "/aaaaaa/aaa";
> >> # $UploadUrlFmt = "http://www.ruthtrumpold.id.au/itgswiki/img"
> >> $EnableUploadOverwrite = 0;
> >> $EnableUploadVersions=1;
> >> 
> >> But I don't get the upload link on the top right of the page.
> >> 
> >> I noticed that I do not have the Site.PageActions page in my wiki.d
> >> directory. I am assuming that is the problem. How to I activate the
> >> Site.PageActions page?
> >> 
> > Site.PageActions starts out in the wikilib.d directory. When you edit it, a
> > changed copy is put into wiki.d, so that shouldn't be the problem.
> > 
> > There is also a chance that your chosen skin doesn't display the contents of
> > Site.PageActions. Site.PageActions is newer than some of the skins (which had
> > to either hard code the links or use a Site page of their own choosing), and
> > they haven't all been updated.
> > 
> > What skin are you using?
> > 
>
> I am using PM's. I haven't changed anything yet as I want to get everything
> sorted first.
> 
> So do I just go into wikilib.d and start editing that page or do I make a
> copy into wiki.d and edit that one. I never had to do that for other special
> pages.

When you edit a 'core' page, the edited version ends up in wiki.d while 
the original remains wikilib.d. So, files in wikilib.d are never edited 
- only updated when you install a PmWiki version update.

You have to be a bit careful in case Patrick updates a core page that 
you've edited - in this case, subversion is your friend. I have to do 
this with PmWiki.DocumentationIndex with every field on every site - 
although I've scripted it now, and it doesn't change very often ;-)

-- 
Best,
Marc





More information about the pmwiki-users mailing list