From: Joby W. <joby@u.washington.edu> - 2002-10-14 22:59:00
|
Jeff Dairiki wrote: >>Is it possible to create a plugin-form which has an input box of >>type="file"? > > > In spite of the dregs of code in WikiPlugin::makeForm which would hint > otherwise, I don't think you can do it (without code changes). (The > remnant code seems to be completely my fault, but at this point, I have > no recollection of why it's there...) > > I'm not sure exactly about what kind of user interface you're thinking of, > but I'm thinking it would be best if the FileUpload plugin produced the > file upload form itself. (Rather than using <?plugin-form?> which really > is supposed to produce a "link" to a plugin...) > > Sorry for the confusion... > Jeff > I concur. For my wiki I expanded WikiPlugin to be able to generate a textbox and/or a select box. It is not too hard to do... jbw |