Aus SubmersWiki

Wechseln zu: Navigation, Suche

You can allow users to upload one file directly through the form, by adding the parameter uploadable to that field's declaration in the form definition.
You can also set the default filename of the uploaded files, by setting the "upload filename=" parameter in the field definition.
The value of this parameter can also include the variable "<page name>", which gets substituted with the name of the page being added or edited. So adding to the field definition the parameter "default filename=Image for <page name>", for instance, for a page called "Abc", would set the default name of any uploaded file to "Image for Abc".





Copyright © 2010 Ontoprise GmbH.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the article "GNU Free Documentation License".


Diese Seite wurde zuletzt am 25. November 2010 um 16:01 Uhr geändert.Diese Seite wurde bisher 2.008-mal abgerufen.