Usually you do not need to change this field, as it is automatically
updated by the information the browser is sending when uploading a file.
Unfortunately the additional information you get from the browser is
not standardized in the HTTP protocol: some browser do send mime-type
and filename, some only mime-type, some only the filename, some even
nothing at all.
With netscape 7.02 under linux it doesn't do it.
>I do not really like to be obliged to type the string image/jpeg
>I want to upload an image.
I agree that this field should not be touched. But I think it is worth
to have it there, if the guess of SmallWiki is wrong and you want to
I agree, it is important. Perhaps an 'advanced section' would be useful.
Why not? You told SmallWiki to add a resource into that folder and it
will appear there. Again, I have to mention that we have to think
slightly different compared to SWiki: I do not attach resources to
pages anymore as I think this is not very intuitive (and made the reuse
impossible), instead I handle them like a simple component.
I do not want Smallwiki to be a new swiki.
There are basically two solutions:
1. Don't give users the link to the folder-index, but a link to an
index page where they might navigate your wiki from.
2. Create a new permission called 'List Resource' and add code to check
this permission when listing an component in a folder.
Perhaps I would prefer the latter solution.
Anyway, we will discuss about that on Tuesday.
Alexandre Bergel http://www.iam.unibe.ch/~bergel