[pmwiki-users] upload box

Simon s-i-m-o-n at paradise.net.nz
Sun Feb 4 16:06:09 CST 2007


I think Daniel wants,
because I am looking for exactly the same thing and despite reading the friendly
documentation have not been able to find it,
hence we are posting this question,
some markup that can be placed in a page (cf new page box)
where a file can be uploaded,
yes - in the same manner as action=upload  but without having the whole upload page
experience.
(yes I have read and reread PmWiki/Uploads and PmWiki/UploadAdmin, PmWiki/SiteActions,
PmWiki/AvailableActions, PmWiki/DocumentationIndex, PmWiki/MarkupMasterIndex,
Cookbook/Input, Category/Uploads - does that establish our credentials?).

So to be clear,
is there, or how would you recommend we achieve, the goal of being able to, say,

(:uploadfile value="add photo to page":)

in a page,
see for example http://www.pmwiki.org/wiki/Test/UploadSimpleForm
and I think that this is close to answering the question
if we understood what values the name=action hidden field could take,
and how to connect to processing of the form data.

in addition after the upload it should return to the original page,
not to
http://www.pmwiki.org/wiki/Test/UploadSimpleForm?action=upload&uprname=014_10A.jpg&upresult=success

Is this now 'out of the box' in PmWiki?


thanks

Simon

PS from http://www.pmwiki.org/wiki/Test/UploadForm


Tegan Dowling wrote:
> Daniel:
> 
> 1) please don't top-post
> 
> 2) it's still not clear to me what you want.  What skin are you using?
> 
> Are you aware of/familiar with  "?action=upload" ?
> 
> Do you just want to upload a file to the wiki, without having any link to it?
> 
> You should still probably read http://pmwiki.org/wiki/PmWiki/Uploads,
> and maybe PmWiki.SitePageActions, which explains that when you've used
> your authentication system (whichever you configure) to establish that
> you have authority to upload, then the Site/PageActions will display
> an "attach" link that will display an uploading dialog box.  See
> http://pmwiki.org/wiki/Site/PageActions?action=source.
> 
> How much of this do you already know?  Please be more expansive to
> help us identify the  point at which your needs differ from what's
> available OR at which your understanding is stalled.




More information about the pmwiki-users mailing list